diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-02-11 00:10:21 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-02-11 00:10:21 -0500 |
commit | b03519760cfac14636629c234a3ed2d2c93be2f5 (patch) | |
tree | 324d96749fe6fe118b1fcb4016ad30367ccd1a76 | |
parent | 71954d42fc35046243a3c0eee4f05e0195a91a95 (diff) | |
download | kvm-manager-b03519760cfac14636629c234a3ed2d2c93be2f5.tar.gz kvm-manager-b03519760cfac14636629c234a3ed2d2c93be2f5.tar.bz2 |
do not enable booting from anything but the first disk
-rwxr-xr-x | kvm-manager | 6 |
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 |