Red Hat Bugzilla – Bug 118586
Subnet mask doesn't seem to stick
Last modified: 2007-11-30 17:07:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1
Description of problem:
In the ks.cfg the subnet mask is set to 255.255.255.0.. However, if a user overrides this a the network config screen during a kickstart install, (say to 255.255.255.128), it doesn't stick on reboot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have ks.cfg that specifies bootproto static and a netmask.
2. Enter different information when prompted during install
3. It will not stick
Actual Results: netmask reset to what's specified in ks.cfg
Expected Results: netmask stays on what the user specifies
Are you changing it in the first stage or the second stage? The first
stage only affects what's used for the install and isn't preserved for
First stage. However, other settings here are saved for post-install
(ie IP address, etc).
Here is the line in the ks.cfg:
network --device eth0 --bootproto static --netmask 255.255.255.0
If I take the netmask out, and have the user enter it, will it stick
(like the ip address)?
It should. It's basically an undocumented side effect, though, so
isn't guaranteed. If you want to prompt, the best thing to do is to
leave out network information entirely