aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-02-11 00:10:21 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-02-11 00:10:21 -0500
commitb03519760cfac14636629c234a3ed2d2c93be2f5 (patch)
tree324d96749fe6fe118b1fcb4016ad30367ccd1a76
parent71954d42fc35046243a3c0eee4f05e0195a91a95 (diff)
downloadkvm-manager-b03519760cfac14636629c234a3ed2d2c93be2f5.tar.gz
kvm-manager-b03519760cfac14636629c234a3ed2d2c93be2f5.tar.bz2
do not enable booting from anything but the first disk
-rwxr-xr-xkvm-manager6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvm-manager b/kvm-manager
index be3db9f..8e193f4 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -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