Hide Forgot
Description of problem: ksdevice=bootif does not work in virsh install Version-Release number of selected component (if applicable): anaconda 13.21.117 How reproducible: 100% Steps to Reproduce: 1. install virtual machine with multiple bridged network interfaces. Specify ksdevice=bootif as kernel parameter. virt-install -n rhel --vnc --vcpus=2 -r 2048 \ -f /var/lib/libvirt/images/rhel.img -s 10 \ --network bridge:br-rhts --network bridge:br-igb --network bridge:br-netxen --network bridge:br-ixgbe \ --os-type=linux --os-variant=virtio26 --accelerate \ --location http://download.englab.brq.redhat.com/pub/rhel/released/RHEL-6/6.1/Server/x86_64/os/ --noautoconsole \ -x "ksdevice=bootif ks=http://download.englab.brq.redhat.com/perf-results/ks.cfg text console=tty0 utf8 console=ttyS0,115200"; 2. virsh console rhel Actual results: Even if ksdevice=bootif were passed as parameter installation still prompts me to select installation device: ┌───────────────┤ Networking Device ├───────────────┐ │ │ │ You have multiple network devices on this system. │ │ Which would you like to install through? │ │ │ │ eth0 - Ethernet device eth0 - 52:54:00:d2:c5:68 │ │ eth1 - Ethernet device eth1 - 52:54:00:1b:89:b7 │ │ eth2 - Ethernet device eth2 - 52:54:00:bd:e8:b9 │ │ eth3 - Ethernet device eth3 - 52:54:00:98:fc:cf │ │ │ │ ┌────┐ ┌──────────┐ ┌──────┐ │ │ │ OK │ │ Identify │ │ Back │ │ │ └────┘ └──────────┘ └──────┘ │ │ │ │ │ └───────────────────────────────────────────────────┘ Expected results: Correct installation from boot interface without prompting
Does virt-install cause a BOOTIF= parameter to be added to the kernel command line? You can check /proc/cmdline to find out.
I'm sure that bootif parameter is correctly passed to kernel, because bootif=eth0 works correctly. Thanks, Adam
Can you attach /tmp/anaconda.log and /tmp/syslog to this bug report?
Created attachment 529849 [details] anaconda.log
Created attachment 529850 [details] syslog
$grep '' /proc/cmdline method=http://download.englab.brq.redhat.com/pub/rhel/released/RHEL-6/6.1/Server/x86_64/os/ ksdevice=bootif ks=http://download.englab.brq.redhat.com/perf-results/ks.cfg text console=tty0 utf8 console=ttyS0,115200
You are not providing BOOTIF= value among boot options: 12:11:10,560 INFO : kernel command line: method=http://download.englab.brq.redhat.com/pub/rhel/released/RHEL-6/6.1/Server/x86_64/os/ ksdevice=bootif ks=http://download.englab.brq.redhat.com/perf-results/ks.cfg text console=tty0 utf8 console=ttyS0,115200 See http://fedoraproject.org/wiki/Anaconda_Boot_Options#ksdevice.