feat: Implement usermode networking (#762)

This commit is contained in:
Kroese
2024-06-11 02:13:53 +02:00
committed by GitHub
parent f8879029ec
commit be8bee90f2
4 changed files with 102 additions and 32 deletions

View File

@@ -5,7 +5,7 @@ set -Eeuo pipefail
[ -f "/run/shm/qemu.end" ] && echo "QEMU is shutting down.." && exit 1
[ ! -s "/run/shm/qemu.pid" ] && echo "QEMU is not running yet.." && exit 0
[[ "$NETWORK" != [Yy1]* ]] && echo "Networking is disabled.." && exit 0
[[ "$NETWORK" == [Nn]* ]] && echo "Networking is disabled.." && exit 0
file="/run/shm/dsm.url"
address="/run/shm/qemu.ip"