From 52ae50f9f050b84cd0fb9aaec9a299c60d22b985 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 19 Oct 2016 13:08:32 +0200 Subject: virt-install: use a SATA bus for the installation cdrom. --- tdfvm-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdfvm-install b/tdfvm-install index d5d8f8e..ed4c8e8 100755 --- a/tdfvm-install +++ b/tdfvm-install @@ -233,7 +233,7 @@ virt-install -q --connect "$LIBVIRT_URI" \ --virt-type "kvm" \ --cpu "$CPU" ${VCPUS+--vcpus "$VCPUS"} \ --memory "$MEMORY" --memballoon "virtio" \ - --cdrom "$VMTMPDIR/install.iso" \ + --disk "path=$VMTMPDIR/install.iso,device=cdrom,bus=sata,readonly=on" \ --disk "$DISK,bus=virtio" \ --channel "unix,target_type=virtio,name=org.qemu.guest_agent.0" \ --filesystem "source=$VMTMPDIR/virtfs,target=virtfs" \ -- cgit v1.2.3