diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-06 19:20:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-06 19:20:17 +0200 |
commit | b0cfa2cf7956827447685c2b044556c1ca8dc5c4 (patch) | |
tree | eb2fdb392ea407aa2bb94dd5779cb075331a9816 /etc/bootstrap/bbot-bootstrap.sh | |
parent | fa6875384e70f2c9bf2e871991db22839cf6fbd5 (diff) |
Add shutdown to bootstrap script
Qemu's system_powerdown is proving to be useless.
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap.sh')
-rwxr-xr-x | etc/bootstrap/bbot-bootstrap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh index 9e7ace8..ec046ca 100755 --- a/etc/bootstrap/bbot-bootstrap.sh +++ b/etc/bootstrap/bbot-bootstrap.sh @@ -137,3 +137,8 @@ run rm -r "$config" # run bbot-worker --bootstrap >manifest run curl -s -S --upload-file manifest "tftp://$tftp/manifest" + +# Wait a bit and shutdown. +# +sleep 2 +sudo shutdown -h now |