aboutsummaryrefslogtreecommitdiff
path: root/kvm-manager
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2009-10-12 11:06:07 -0400
committerJamie McClelland <jm@mayfirst.org>2009-10-12 11:06:07 -0400
commit6c532de11cb38d4d85a4692dbc531031d6840aa4 (patch)
tree6d3be22963b663bae37bea24ed1ea760ace1568c /kvm-manager
parentce60078a6c70a8ea6b30405b4c1709a8e4800a98 (diff)
downloadkvm-manager-6c532de11cb38d4d85a4692dbc531031d6840aa4.tar.gz
kvm-manager-6c532de11cb38d4d85a4692dbc531031d6840aa4.tar.bz2
breaking out the name of the disk and placing it in a env file
called kvmopts which is passed directly to kvm command.
Diffstat (limited to 'kvm-manager')
-rwxr-xr-xkvm-manager2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index 40972ce..078fcf3 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -52,7 +52,7 @@ up() {
chpst -u "$OWNER" mv "$LOGNAME" "$LOGNAME".$(date +%F_%T%z|tr : .)
fi
- exec chpst -u "$OWNER:$OWNERGROUP:kvm" /usr/bin/screen -D -m -L -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" -s /bin/false /usr/bin/kvm $KVMARGS -nographic -name "$VMNAME" -m "$RAM" -net nic,"macaddr=$MAC" -net "tap,hostname=$VMNAME,ifname=$TAP,script=no,downscript=no" -no-reboot -serial stdio "/dev/mapper/${VGNAME}-$VMNAME"
+ exec chpst -u "$OWNER:$OWNERGROUP:kvm" /usr/bin/screen -D -m -L -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" -s /bin/false /usr/bin/kvm $KVMARGS -nographic -name "$VMNAME" -m "$RAM" -net nic,"macaddr=$MAC" -net "tap,hostname=$VMNAME,ifname=$TAP,script=no,downscript=no" -no-reboot -serial stdio "$KVMOPTS"
}