Hi, all --
I'm doing some work to get koan provisioning virtual machines in my
environment at the moment, and am running into some trouble. Specifically,
I can't figure out how to actually give the virtual machine an IP address.
I do not allow DHCP except to registered clients -- that is, the DH
When I create my system profiles I generate a random mac address - can probably
try something similar?
- Original Message -
From: "Ian Marlier"
To: "cobbler"
Sent: Tuesday, August 24, 2010 5:58:15 PM GMT -05:00 US/Canada Eastern
Subject: IP addresses for virtual machines at provis
I just "create" one with the following script.
#! /usr/bin/python
# macgen.py script generates a MAC address for KVM guests
#
import random
mac = [ 0x54, 0x52, 0x00,
random.randint(0x00, 0x7f),
random.randint(0x00, 0xff),
random.randint(0x00, 0xff) ]
print ':'.join(map(lambda x: "%02x" % x, mac))