cricalix
Contributor
Contributor

On a RHEL front, I think FTP/HTTP retrieval of the KS file always use DHCP for the initial network connection. For our guests, this works just fine - we DHCP them temporarily while they install, and the KS file stored server-side (served up via PHP based on MAC addresses in the request headers) has the actual IP address configuration. might be useful.

If it helps, our boot CD has an isolinux.cfg with

label autobuild

kernel vmlinuz

append initrd=initrd.img kssendmac ksdevice=eth0 ks=http://puppetmaster/ks/index.php text

The kssendmac is the trick, it lets index.php work out which server is requesting a kickstart. We can then do many-to-1 or 1-to-1 mappings to the configuration files. The files are pretty much indentical, other than the hard-coded IP address, and some of the %post stuff.

Reply
0 Kudos