Add a sleep to the bhyve management script to hopefully avoid bad states.
This commit is contained in:
parent
e7b4bb9a4b
commit
bfee369ad8
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user