Red Hat Bugzilla – Bug 14690
kickstart unattended installation doesn't work with 2 NICs
Last modified: 2008-05-01 11:37:57 EDT
Compaq Issue #187876:
RedHat 6.2 (and I assume earier) defaulted to eth0 for the network installation
device, but 7.0 now stops and asks which nic to use if there are more than one.
For unattended (i.e. factory) installations, a user prompt should *not* appear in the process
and therefore necessitates one of three fixes:
Option 1 - Revert to using eth0 as the download device by default,
Option 2 - Allow us to specify the download device in the kickstart file.
Option 3 - Some other workaround?
Compaq respectfully considers this a MUST-FIX for 7.0.
Fixed in current betas.
Be sure to use --device eth1 in the kickstart network command.
We tried the --device option with kickstart, but that's not where the problem lies.
(Here's a note from our kickstart engineer:)
The problem is with the install loader (cant recall if its in initrd or vmlinuz).
Anyway, I have reviewed Loader.c from RH6.2 and found the locations where
eth0 is used by default or they otherwise stop at the first nic they find.
This works great if you have multiple nics because no questions are asked
- you just always know to put the cable into the first nic.
Apparently 7.0 has changed loader.c. Unfortunately, I dont have the source
for the beta 4 build so its a little difficult to tell what the appropriate
command-line switch might/should be. I assume the switch belongs
in the syslinux.cfg file on the network boot diskette.
Our current entry is:
append ks=nfs:192.168.1.22:/home/ftp/ks.cfg initrd=initrd.img network
ksdevice=eth1 on the kernel command line is what you're looking for
This worked perfectly. Thanks!