diff options
author | Guilhem Moulin <guilhem@libreoffice.org> | 2016-10-19 13:08:32 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@libreoffice.org> | 2016-10-19 13:08:32 +0200 |
commit | 52ae50f9f050b84cd0fb9aaec9a299c60d22b985 (patch) | |
tree | d0ad0639c46a3436c9ddbdc6329c5245d4312393 | |
parent | efbe177253d4ecbac8a9b5e02ce38df461eb01af (diff) |
virt-install: use a SATA bus for the installation cdrom.
-rwxr-xr-x | tdfvm-install | 2 |
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" \ |