diff options
-rwxr-xr-x | kvm-manager | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kvm-manager b/kvm-manager index 3e907f9..b1f260c 100755 --- a/kvm-manager +++ b/kvm-manager @@ -72,11 +72,10 @@ up() { -rtc base=utc \ -usb \ -device virtio-balloon-pci,id=balloon0,bus=pci.0 \ - -chardev "socket,id=serial0,path=$OWNERHOME/vms/$VNAME/console.socket,server,nowait" -device isa-serial,chardev=serial0 \ + -chardev "socket,id=serial0,path=$OWNERHOME/vms/$VMNAME/console.socket,server,nowait" -device isa-serial,chardev=serial0 \ -smp "${SMP:-1},maxcpus=${MAXCPUS:-8}" \ -device "virtio-net-pci,vlan=0,id=net0,mac=$MAC,bus=pci.0" \ - -net "tap,ifname=$TAP,script=no,downscript=no,vlan=0,name=hostnet0" \ - -no-reboot + -net "tap,ifname=$TAP,script=no,downscript=no,vlan=0,name=hostnet0" } |