Bug 492586 - cmdline mode prompts during loader for NIC selection
Summary: cmdline mode prompts during loader for NIC selection
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11AnacondaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-03-27 15:14 UTC by James Laska
Modified: 2013-09-02 06:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-06 21:28:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot (168.27 KB, image/jpeg)
2009-03-27 15:14 UTC, James Laska
no flags Details

Description James Laska 2009-03-27 15:14:24 UTC
Created attachment 337023 [details]
Screenshot

Description of problem:

Doing a cmdline mode kickstart install stops and prompts for the NIC to use in loader.


Version-Release number of selected component (if applicable):

anaconda-11.5.0.38


Steps to Reproduce:
1. Initiate cmdline mode kickstart install on a system with *multiple* NICs
  
Actual results:

Loader prompts for which NIC to use.

Expected results:

cmdline mode should never prompt, we should emit a failure message and the user must supply the require NIC information via cmdline or kickstart.

Additional info:

See screenshot

Comment 1 Chris Lumens 2009-03-27 17:19:16 UTC
David - it looks like all we really need here is something like:

if (FL_CMDLINE(flags)) {
    fprinft(stderr, "No way to determine which NIC to use, and cannot ask in cmdline mode.  Halting.");
    exit(1);
}

in net.c:chooseNetworkInterface, right before the startNewt().  Does that sound about right?

Comment 2 David Cantrell 2009-03-27 20:47:13 UTC
(In reply to comment #1)
> David - it looks like all we really need here is something like:
> 
> if (FL_CMDLINE(flags)) {
>     fprinft(stderr, "No way to determine which NIC to use, and cannot ask in
> cmdline mode.  Halting.");
>     exit(1);
> }
> 
> in net.c:chooseNetworkInterface, right before the startNewt().  Does that sound
> about right?  

Yeah, that's exactly what we need.  Will be in anaconda-11.5.0.39-1 and later.


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