first draft novnc

This commit is contained in:
mad
2018-08-13 18:25:05 +02:00
parent 6b3c8cc71b
commit 7916d7f257
108 changed files with 79262 additions and 2 deletions

2
nlvmi
View File

@@ -121,7 +121,7 @@ function vmstart {
if [ ! -z ${array[26]} ]; then TAPDEV3="-netdev tap,ifname=${array[26]},script=no,id=net0"; fi
if [ ! -z ${array[27]} ]; then MACADDR3="-net nic,macaddr=${array[27]},model=virtio,netdev=net0"; fi
if [ ! -z ${array[28]} ]; then BRDEV3="${array[28]}"; fi
if [ ! -z ${array[29]} ]; then VNCPORT="-vnc ${array[29]},websocket=${array[30]},password"; fi
if [ ! -z ${array[29]} ]; then VNCPORT="-vnc :${array[29]},websocket=${array[30]},password"; fi
# tunctl -t ${array[20]} -u ${array[2]}
# brctl addif ${array[22]} ${array[20]}
# ifconfig ${array[20]} up