Bug 443801

Summary: Hostname Configuration - should default to "DHCP" when ip=dhcp
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-24 01:09:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda.log none

Description James Laska 2008-04-23 13:36:31 UTC
Description of problem:

The stage#2 Hostname Configuration screen currently defaults to "manual" using
the dhcp provided ip/hostname.  This should default to "DHCP"

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


How reproducible:
100%

Steps to Reproduce:
1. Start installation booting with ksdevice=$valid ip=dhcp
2. Proceed to stage#2 networking configuration screen

    ┌──────────────────────┤ Network Configuration ├──────────────────────┐
    │                                                                     │
    │ The current configuration settings for each interface are listed    │
    │ next to the device name.  Unconfigured interfaces are shown as      │
    │ UNCONFIGURED.  To configure an interface, highlight it and choose   │
    │ Edit.  When you are finished, press OK to continue.                 │
    │                                                                     │
    │                    eth0: UNCONFIGURED          ↑                    │
    │                    eth1: Active on boot, DHCP  ▮                    │
    │                                                ▒                    │
    │                                                ▒                    │
    │                                                ↓                    │
    │                                                                     │
    │        ┌──────┐               ┌────┐               ┌──────┐         │
    │        │ Edit │               │ OK │               │ Back │         │
    │        └──────┘               └────┘               └──────┘         │
    │                                                                     │
    │                                                                     │
    └─────────────────────────────────────────────────────────────────────┘
  
Actual results:

      ┌────────────────────┤ Hostname Configuration ├────────────────────┐      
      │                                                                  │      
      │ If your system is part of a larger network where hostnames are   │      
      │ assigned by DHCP, select automatically via DHCP. Otherwise,      │      
      │ select manually and enter a hostname for your system. If you     │      
      │ do not, your system will be known as 'localhost.'                │      
      │                                                                  │      
      │       ( ) automatically via DHCP                                 │      
      │       (*) manually               ibft0.test.redhat.com___        │      
      │                                                                  │      
      │             ┌────┐                         ┌──────┐              │      
      │             │ OK │                         │ Back │              │      
      │             └────┘                         └──────┘              │      
      │                                                                  │      
      │                                                                  │      
      └──────────────────────────────────────────────────────────────────┘      


Expected results:

      ┌────────────────────┤ Hostname Configuration ├────────────────────┐
      │                                                                  │
      │ If your system is part of a larger network where hostnames are   │
      │ assigned by DHCP, select automatically via DHCP. Otherwise,      │
      │ select manually and enter a hostname for your system. If you     │
      │ do not, your system will be known as 'localhost.'                │
      │                                                                  │
      │       (*) automatically via DHCP                                 │
      │       ( ) manually               ibft0.test.redhat.com___        │
      │                                                                  │
      │             ┌────┐                         ┌──────┐              │
      │             │ OK │                         │ Back │              │
      │             └────┘                         └──────┘              │
      │                                                                  │
      │                                                                  │
      └──────────────────────────────────────────────────────────────────┘


Additional info:

sh-3.2# cat /proc/cmdline 
ksdevice=link ip=dhcp noipv6
method=ftp://porkchop.redhat.com//mnt/rawhide/nightly/rawhide-20080422/x86_64/os
text console=ttyS0,115200

Comment 1 James Laska 2008-04-23 13:36:31 UTC
Created attachment 303492 [details]
anaconda.log

Comment 2 Jeremy Katz 2008-04-23 15:57:59 UTC
I vaguely remember that this was intentional

Comment 3 David Cantrell 2008-04-24 01:09:23 UTC
On porpoise.  See bug #408921.

Comment 4 James Laska 2008-04-24 11:04:29 UTC
Ah good point (re:408921) ... thanks for the pointer :)