]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
do not enable booting from anything but the first disk
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 11 Feb 2011 05:10:21 +0000 (00:10 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 11 Feb 2011 05:10:21 +0000 (00:10 -0500)
kvm-manager

index be3db9f872962c08fe8739d34349fb24b729aeea..8e193f4d854ed23c9bbc8c9b0cd1a1a880704e12 100755 (executable)
@@ -49,9 +49,9 @@ up() {
 
     # set up the disks, if needed:
     [ -z "$HDA" ] || KVMARGS="$KVMARGS -drive file=$HDA,if=virtio,id=hda,boot=on,format=raw"
-    [ -z "$HDB" ] || KVMARGS="$KVMARGS -drive file=$HDB,if=virtio,id=hdb,boot=on,format=raw"
-    [ -z "$HDC" ] || KVMARGS="$KVMARGS -drive file=$HDC,if=virtio,id=hdc,boot=on,format=raw"
-    [ -z "$HDD" ] || KVMARGS="$KVMARGS -drive file=$HDD,if=virtio,id=hdd,boot=on,format=raw"
+    [ -z "$HDB" ] || KVMARGS="$KVMARGS -drive file=$HDB,if=virtio,id=hdb,format=raw"
+    [ -z "$HDC" ] || KVMARGS="$KVMARGS -drive file=$HDC,if=virtio,id=hdc,format=raw"
+    [ -z "$HDD" ] || KVMARGS="$KVMARGS -drive file=$HDD,if=virtio,id=hdd,format=raw"
 
     LOGNAME="$OWNERHOME/vms/$VMNAME/console"
     ln -sfT "$LOGNAME" ./servicelog