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
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))
> 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.
Just create a system definition that has an IP address, ie statically
con
On Wed, Aug 25, 2010 at 5:31 AM, Tom Brown wrote:
> > 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.
>
> Just crea
Have you considered using dhcp classes to only give out IP's to 'unknown
clients' if those clients are pxebooting/in anaconda ?
eg:
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
option domain-name-servers 192.168.0.10;
filename "pxelinux.0";