summaryrefslogtreecommitdiff
path: root/vmbuild
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-04 23:04:45 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-04 23:04:45 +0100
commit706a90a48f058de509e0c4e0d020d1cedd467036 (patch)
tree669dcfec5c795630461e3fb1375338307d1d1152 /vmbuild
parent66810b1db69a8262f127edcb6287f35b1a330955 (diff)
More vmbuild hacks.
Diffstat (limited to 'vmbuild')
-rwxr-xr-xvmbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmbuild b/vmbuild
index a3954ff..90a9127 100755
--- a/vmbuild
+++ b/vmbuild
@@ -29,7 +29,8 @@ if [ "$output" != "" ]; then
scp -P $port carl@localhost:fedora-22-$bits/* $output/
fi
ssh -p $port carl@localhost "sudo /sbin/poweroff"
+
+set +e
while [[ ( -d /proc/$vbox ) && ( -z `grep zombie /proc/$vbox/status` ) ]]; do
sleep 1
done
-exit 0