mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-13 05:23:41 +08:00
feat: Store config in RAM (#559)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user