Commit 756a1ff9a08ff2b1a16202a32e667b56204accc5 broke unattended install
from an URL source.  The reason is that unattended_install is expecting
/dev/sr1 for the repo and /dev/sr0 for the kickstart.

Next time, please report the change to the QEMU mailing list!  What was
the bug exactly?  Specifying unit=0/unit=1 should be enough to ensure
the names are /dev/sr0 and /dev/sr1; alternatively you could perhaps use
different, more stable paths in /dev, and kill the path rewriting code
in unattended_install.py too?

Testcase:

    ./run -v -t qemu -c tests-example.cfg

with this tests-example.cfg

    include qemu/cfg/tests-shared.cfg

    qemu_binary = /usr/bin/qemu-kvm
    qemu_img_binary = /usr/bin/qemu-img
    qemu_io_binary = /usr/bin/qemu-io
    only qcow2
    only virtio_net
    only virtio_blk
    only smp2
    only no_9p_export
    only no_pci_assignable
    only no_glusterfs_support
    only smallpages
    only JeOS
    only i440fx

    only unattended_install.url
    only extra_cdrom_ks

Thanks,

Paolo

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to