aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@libreoffice.org>2016-10-19 13:08:32 +0200
committerGuilhem Moulin <guilhem@libreoffice.org>2016-10-19 13:08:32 +0200
commit52ae50f9f050b84cd0fb9aaec9a299c60d22b985 (patch)
treed0ad0639c46a3436c9ddbdc6329c5245d4312393
parentefbe177253d4ecbac8a9b5e02ce38df461eb01af (diff)
virt-install: use a SATA bus for the installation cdrom.
-rwxr-xr-xtdfvm-install2
1 files changed, 1 insertions, 1 deletions
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" \