diff options
-rwxr-xr-x | kvm-manager | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager index 2cbff97..c92764c 100755 --- a/kvm-manager +++ b/kvm-manager @@ -59,7 +59,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,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 } |