feat: Store config in RAM (#559)

This commit is contained in:
Kroese
2024-01-13 20:25:57 +01:00
committed by GitHub
parent 3a507f5bf6
commit 575da1f574
7 changed files with 31 additions and 28 deletions

View File

@@ -218,7 +218,7 @@ getInfo() {
GATEWAY=$(ip r | grep default | awk '{print $3}')
IP=$(ip address show dev "$VM_NET_DEV" | grep inet | awk '/inet / { print $2 }' | cut -f1 -d/)
echo "$IP" > /run/qemu.ip
echo "$IP" > /run/shm/qemu.ip
return 0
}