Quote:
Originally Posted by DBelton
hostname is set in your kickstart file on the network line using the --hostname parameter..
For example:
Code:
network --onboot yes --device p33p1 --noipv6 --nameserver 192.168.1.254 --hostname tower20.home
|
I kind of assumed that. But just a couple of clarifications: does this set the $HOSTNAME variable within the kickstart script? Put another way, how do I use that name (
tower20.home) in your example) to set logvol names (vg_tower20.home_root, etc). Also, will kickstart put this value into /etc/syconfig/network, or will I need to do this in a %post script.
(FWIW: I am planning on using this script for multiple installs, with only the host name changed. That would be set in the default pxeboot
Anyways, thanks for this info. It is a good start, and since this first install is a fresh, test one, I guess I can play around a bit.
ken