mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-22 09:53:40 +08:00
feat: Close network on shutdown
This commit is contained in:
@@ -81,6 +81,8 @@ _graceful_shutdown() {
|
||||
echo && echo "❯ Quitting..."
|
||||
echo 'quit' | nc -q 1 -w 1 localhost "${QEMU_MONPORT}" >/dev/null 2>&1 || true
|
||||
|
||||
closeNetwork
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user