Bug 14690 - kickstart unattended installation doesn't work with 2 NICs
kickstart unattended installation doesn't work with 2 NICs
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Erik Troan
Depends On:
  Show dependency treegraph
Reported: 2000-07-26 19:48 EDT by John Cagle
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-07 10:42:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Cagle 2000-07-26 19:48:27 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.
Comment 1 Michael Fulbright 2000-07-27 13:49:18 EDT
Fixed in current betas.

Be sure to use --device eth1 in the kickstart network command.
Comment 2 John Cagle 2000-07-28 16:24:48 EDT
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:

label ks
  kernel vmlinuz
  append ks=nfs: initrd=initrd.img network

Please advise.
Comment 3 Erik Troan 2000-07-31 10:53:46 EDT
ksdevice=eth1 on the kernel command line is what you're looking for
Comment 4 John Cagle 2000-08-07 10:42:15 EDT
This worked perfectly.  Thanks!

Note You need to log in before you can comment on or make changes to this bug.