Add a sleep to the bhyve management script to hopefully avoid bad states.

This commit is contained in:
Tom Alexander 2023-08-13 18:01:16 -04:00
parent e7b4bb9a4b
commit bfee369ad8
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -46,7 +46,7 @@ function cleanup {
} }
vms=() vms=()
for sig in EXIT INT QUIT HUP TERM; do for sig in EXIT INT QUIT HUP TERM; do
trap "set +e; cleanup" "$sig" trap "set +e; sleep 10; cleanup" "$sig"
done done
function die { function die {