rh6 kickstart network device and /etc/sysconfig/network

Moray Henderson Moray.Henderson at ict-software.org
Thu Jun 30 16:35:52 UTC 2011


Arnau Bria wrote:
> Hi all,
> 
> I've looked into list archives and did not find an exact reference to
> my problem, so I'd like to confirm if I have a real problem or not.
> 
> *I don't know if this kickstart or rh6 installation problem, so sorry
> if this is not the proper list to ask so.
> 
> 
> I'm trying to install a new rh6 host with non default netwrok
> device (eth1):
> 
> so, kickstart line looks like:
> 
> network --bootproto=static --device=eth1 --gateway=X.X.X.X
> --hostname=hostname --ip=Y.Y.Y.Y
> --nameserver=Z.Z.Z.Z --netmask=255.255.255.128
> --onboot=on
> 
> and the host if installed successfully, but, when I check network conf,
> GATEWAY info is not written into /etc/sysconfig/network but
> into /etc/sysconfig/network-scripts/ifcfg-eth1 .
> 
> is this a desired behaviour? is kickstart involved in this problem?

I've been poking around the network config in CentOS 5 recently.  In that
OS, specifying GATEWAY in the ifcfg-eth1 script should not be a problem
(although possibly not exactly desired) - it scans those files as well when
setting up the default route.  Does it make a difference if you specify
--gateway= before --device?  (never tried that myself, so don't know if it's
supposed to work).


Moray.
"To err is human; to purr, feline."







More information about the Kickstart-list mailing list