Profile based installation (not based on MAC address or hostname)
Michael Goetze
mgoetze at mgoetze.net
Tue Sep 8 11:19:51 CEST 2009
Hi Peter,
> i. Create an entry in the /etc/.../dhcpd.conf (maybe /srv/... may be a
> better place in future as the file will grow in size) adding an entry
> for the MAC address and the specified IP address and host name;
> ii. Use fai-chboot to create a network boot configuration profile for
> the client to-be-installed, specifying the requested installation
> profile;
> iii. When the client boots FAI will install, and at the end of the
> successful installation the FAI server removes the reference to the
> bootloader file from the host specification in /etc/.../dhcpd.conf for
> the installed client, and removes the previously created network boot
> configuration profile.
Sure, this is one way to do it, though I don't see why your hostnames
should be so random that FAI cannot parse them to figure out what
classes it ought to install. Another way would be to simply have a
script in your class/ directory which asks for the installation profile
interactively.
Regards,
Michael
More information about the linux-fai
mailing list