diff options
-rwxr-xr-x | kvmx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -394,7 +394,7 @@ function kvmx_up { # See https://en.wikipedia.org/wiki/Nohup#Overcoming_hanging nohup kvm -m $memory -name $VM \ -drive file=$image,if=$drive_interface $graphics $shared \ - $spice \ + $spice_opts \ -chardev "socket,id=monitor,path=$MONITORFILE,server,nowait" -mon chardev=monitor,mode=readline \ -chardev "socket,id=serial0,path=$CONSOLEFILE,server" -device isa-serial,chardev=serial0 \ -smp $smp -soundhw ac97 -cpu host -balloon virtio \ @@ -413,7 +413,7 @@ function kvmx_up { # Thanks kvm-manager code for that portion local screen_log_args=-L if dpkg --compare-versions "$screen_version" ge 4.05; then - screen_log_args="-L ./servicelog" + screen_log_args="-L $DATADIR/servicelog" fi /usr/bin/screen -D -m $screen_log_args \ |