forked from uncloud/uncloud
++stuff
This commit is contained in:
parent
7c9e3d747a
commit
23d805f04f
2 changed files with 7 additions and 3 deletions
|
@ -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}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue