1

HowTo: set system HOST name in kickstart

view story
linux-howto

http://forums.fedoraforum.org – I am building a kickstart file. But I can't find anywhere how to set the $HOST variable name. The GUI install prompts for a host name, then uses that for several things, including naming various LVMs (vg_<host>_root, etc). So is there a way to set this in the kickstart file? Or do I need to manually name everything? I could write out a file like /etc/sysconfig/network in a %pre script, %include that file in, and set a variable that way (and then in a %post script write out the fhat file to the chroot'd environment). But I was wondering if there was a simpler built in way to do tha (HowTos)