Difference between call of kickstart

Issues related to configuring your network
Post Reply
dcz01
Posts: 20
Joined: 2017/03/07 10:15:22

Difference between call of kickstart

Post by dcz01 » 2017/03/14 14:56:45

Hello,
i have an problem with the installation of CentOS 6.8 by kickstart.
I configure the system hostname in the kickstart file like that: network --bootproto=dhcp --device=eth0 --onboot=on --noipv6 --hostname=FBD123AA

When i start the kickstart installation with the following parameters, anaconda places the hostname in the right files:
ks=http://webserver/share/CentOS/install/kickstartfile.cfg

But now when i tried to install the system with the same kickstartfile and the install files on an usb drive, anaconda does not place the HOSTNAME parameter in the /etc/sysconfig/networking-scripts/ifcfg-eth0 file:
ks=hd:sda2:/CentOS/install/kickstartfile.cfg

Why does anaconda not act the same on both ways?

Post Reply