Description of problem:
Fail to install vm by option: --extra-args "console=ttyS0,115200".
The xml file is established and with no problem. The domain installation still in progress, but when try to connect to it by vnc-viewer, an error occour: Cannot determine the VNC port for the guest rhel5_0320pm.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# virt-install -n rhel5_0320pm -r 1000 -f /var/lib/libvirt/images/rhel5_0320pm.img -s 5 -l http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-5-Server/U4/i386/os/ --nographics --extra-args "console=ttyS0,115200"
Retrieving file .treeinfo... | 874 B 00:00 ...
Retrieving file vmlinuz... | 3.5 MB 00:00 ...
Retrieving file initrd.img... | 13 MB 00:00 ...
Creating domain... | 0 B 00:00
error: Failed to get local hostname
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
Failed to install vm.
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
*** This bug has been marked as a duplicate of bug 586175 ***