This commit is contained in:
Nico Schottelius 2020-01-11 00:24:17 +01:00
parent 7c9e3d747a
commit 23d805f04f
2 changed files with 7 additions and 3 deletions
uncloud/hack

View file

@ -3,9 +3,9 @@
netid=100 netid=100
dev=wlp2s0 dev=wlp2s0
dev=wlp0s20f3 dev=wlp0s20f3
dev=wlan0 #dev=wlan0
ip=2a0a:e5c1:111:888::42/64 ip=2a0a:e5c1:111:888::48/64
vxlandev=vxlan${netid} vxlandev=vxlan${netid}
bridgedev=br${netid} bridgedev=br${netid}

View file

@ -18,4 +18,8 @@ qemu-system-x86_64 \
-smp 2,sockets=2,cores=1,threads=1 \ -smp 2,sockets=2,cores=1,threads=1 \
-device virtio-net-pci,netdev=net0,mac=$macaddress \ -device virtio-net-pci,netdev=net0,mac=$macaddress \
-netdev tap,id=net0,ifname=${netname},script=no,downscript=no \ -netdev tap,id=net0,ifname=${netname},script=no,downscript=no \
-vnc [::]:5900 -vnc [::]:0
# To be changed:
# -vnc to unix path
# or -spice