Unverified Commit bd3d0651 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Store VM IP in file (#1078)

parent 77f4125c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -944,6 +944,7 @@ fi

NET_OPTS+=" -device $ADAPTER,id=net0,netdev=hostnet0,romfile=,mac=$VM_NET_MAC"
[[ "$MTU" != "0" && "$MTU" != "1500" ]] && NET_OPTS+=",host_mtu=$MTU"
echo "$VM_NET_IP" > /run/shm/qemu.ip

html "Initialized network successfully..."
return 0