aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-01-26 18:28:25 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-01-26 18:28:25 -0500
commit6625d126b257ad696d59c7237c037b7a3c36b808 (patch)
tree5b28f97f1ed23eb4a878675eef2a085fee081391
parentdca8589add7c9a8b2acbb2fa85cca1a750e050be (diff)
downloadkvm-manager-6625d126b257ad696d59c7237c037b7a3c36b808.tar.gz
kvm-manager-6625d126b257ad696d59c7237c037b7a3c36b808.tar.bz2
break out kvm arguments to one-per-line to make cleaners diffs
-rwxr-xr-xkvm-manager11
1 files changed, 10 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index c92764c..84795fe 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -59,7 +59,16 @@ 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" -smp "${SMP:-1},maxcpus=${MAXCPUS:-8}" -net nic,"macaddr=$MAC" -net "tap,ifname=$TAP,script=no,downscript=no" -no-reboot
+ 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" \
+ -smp "${SMP:-1},maxcpus=${MAXCPUS:-8}" \
+ -net nic,"macaddr=$MAC" \
+ -net "tap,ifname=$TAP,script=no,downscript=no" \
+ -no-reboot
}