Description of problem:
RHEL6-20100622.1 guest cannot get ip if don't select network 'Connect Automatically' during installation process
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Local download RHEL6.0-20100622.1-Server-i386-DVD1.iso from http://porkchop.devel.redhat.com/brewroot/repos
2. Launch virt-manager to install rhel6-20100622 guest from iso image
3. During guest installation process, keep Configure Network -> System eth0 -> Edit -> Connect Automatically NOT selected as default
4. After guest is installed, login the guest,
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
5. Edit ONBOOT="no" to ONBOOT="yes"
6. # service network restart
7. # ifconfig
step7, eth0 cannot get ip address, and there lack of 1 line code 'BOOTPROTO='dhcp'' in
/etc/sysconfig/network-scripts/ifcfg-eth0. After add this line then restart network service, eth0 can get ip successfully
step7, eth0 could get ip address and 'BOOTPROTO='dhcp'' should be automatically generated in /etc/sysconfig/network-scripts/ifcfg-eth0
1. Exactly the same step, no such bug is found on such as rhel5 guest
2. If select Configure Network -> System eth0 -> Edit -> Connect Automatically manually during guest installation process, after login guest, eth0 can get ip automatically
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
The default network 'Connect Automatically' is unchecked.
Install host with rhel6-i386-snapshot6 CD image, found the same bug. So this should be anaconda bug.
If you are installing from an iso you are not using the network during installation, so logically the network is not configured after installation.
If you want to configure the network, either do so after installation using the usual tools, or press the configure network button on the screen in the installer
where you can enter the hostname.
Reproduce this issue with build: 'RHEL6.0-20100701.3-Server-x86_64'.
Reproduce this issue with latest build: 'RHEL6.0-20100707.4-Server-x86_64'.
Please see comments #6 and #8 for an explanation of the behavior in RHEL-6. Setting devel_ack to -
(In reply to comment #13)
> Please see comments #6 and #8 for an explanation of the behavior in RHEL-6.
> Setting devel_ack to -
As mentioned in comment 9,
For rhel5 installation, eth0 'Active on boot' is *checked* as default during installation process
But for rhel6 installation, eth0 'Active on boot' is 'unchecked' as default during installation process. This cause the host/guest cannot get ip after installation. This should be a bad experience for customers.
This should be a regression bug as mentioned in comment 10
*** Bug 615208 has been marked as a duplicate of this bug. ***
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
In version 6 of Red Hat Enterprise Linux, network interface configuration screen was replaced with NetworkManger Connection Editor which lead to a change concerning cases of DVD installs where network is not enabled or configured explicitly during install. In version 5, first network device was activated after reboot using DHCP, as preselected by default in network configuration screen.
In version 6, a device has to be configured during install to be activated automatically after reboot, which can be done by checking "Connect Automatically" in Connection Editor invoked by "Configure Network" button.
Another option is to use kickstart network command.
This needs to be added to the Install Guide and it should also have a technical note since it has caused confusion.
Rudi, ping, can you add this in?
(In reply to comment #19)
> Rudi, ping, can you add this in?
Absolutely; will take care of this today.
(In reply to comment #20)
> (In reply to comment #19)
> > Rudi, ping, can you add this in?
> Absolutely; will take care of this today.
The fix needed here is more significant than I thought. ETA is Tuesday 3 Aug.
Note added in new section in build 0-84 (the whole "Configure Network" procedure was previously missing):
9.6.1. Edit Network Connections
Important — Manual configuration is often needed
When a Red Hat Enterprise Linux 6 installation boots for the first time, it activates any network interfaces that you configured during the installation process. However, the installer does not prompt you to configure network interfaces on some common installation paths, for example, when you install Red Hat Enterprise Linux from a DVD to a local hard drive.
When you install Red Hat Enterprise Linux from a local installation source to a local storage device, be sure to configure at least one network interface manually if you require network access when the system boots for the first time.
*** Bug 592071 has been marked as a duplicate of this bug. ***
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.