Jasper Capel wrote:
Hey,
Normally, you'd need a DHCP server for installing xenpv virtuals from
Koan: the installer stage1 would send a DHCP request before it fetches
the kickstart file.
You can now run something like:
# koan -s 172.18.3.100 -v -n -y web01.gs.stone-it.local -S eth0
(-S or --static-interface)
And it will append the IP information (ksdevice=, ip=, netmask=,
gateway=) defined in the system for the given interface to the installer
kernel options.
If the interface parameter is "ethX", it will fall back to "intfX",
to
allow this to be used on servers upgraded from Cobbler 1.2.x. I also
tested against a Cobbler 1.2.5 server: it works. :)
My changes:
http://bender.newnewyork.nl/git/gitweb.cgi?p=koan/.git;a=summary
or:
git://bender.newnewyork.nl/koan (branch: devel)
Kind regards,
Jasper Capel
Stone-IT
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
Looks good.
I've applied this, thanks!
I added some additional documentation on how this works to the virtual
install instruction part of the manpage (koan.pod in the source
checkout). You might want to look that over and see if it's correct.
Note to the list -- As we were discussing earlier, koan should not need
a --static-interface option when using --replace-self because we embed
the kickstart file inside the initrd in that case, so this should only
be needed for virtual machines that don't have DHCP available.
--Michael