Disable Windows VM restart at boot

This commit is contained in:
David Heinemeier Hansson committed 2026-07-29 19:26:26 -07:00
1 parent 559ab04209
commit eb0f41cd5d
2 files changed
+17 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
set -euo pipefail
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"
windows_vm_command="$ROOT/bin/omarchy-windows-vm"
rg -q '^ restart: "no"$' "$windows_vm_command" ||
fail "Windows VM uses manual startup by default"
pass "Windows VM uses manual startup by default"
if rg -q '^ restart: unless-stopped$' "$windows_vm_command"; then
fail "Windows VM does not restart automatically at boot"
fi
pass "Windows VM does not restart automatically at boot"