This commit is contained in:
root 2018-08-11 20:24:09 +02:00
parent 5c5e0f9179
commit 16ef195a82
1 changed files with 1 additions and 1 deletions

2
nlvmi
View File

@ -134,7 +134,7 @@ function vmstart {
USBDEV3=""; fi
if [ ${array[23]}!="" ]; then
USBDEV3="-usbdevice ${array[22]}"; fi
echo "su ${array[3]} -c \"${array[10]} -enable-kvm -cpu host -m 1024 -smp 2 -boot ${array[5]} $USBDEV1 $USBDEV2 $USBDEV3 -k ${array[24]} -daemonize $DRIVE1 $DRIVE2 $DRIVE3 $CDROM $NETDEV1 $TAPDEV1 $TAPDEV2 $TAPDEV3 $VNCPORT\""
echo "su ${array[3]} -c \"${array[10]} -enable-kvm -cpu host -m 1024 -smp 2 -boot ${array[5]} $USBDEV1 $USBDEV2 $USBDEV3 -k ${array[24]} -daemonize $DRIVE1 $DRIVE2 $DRIVE3 $CDROM $NETDEV1 $TAPDEV1 $TAPDEV2 $TAPDEV3 $VNCPORT -pidfile $RUNDIRECTORY/${array[1]}.pid -monitor unix:$RUNDIRECTORY/${array[1]}.mon,server,nowait\""
done
export VMFOUND="yes"
}