reboot: Add `--wait` option to `obmcutil` invocations

Otherwise we may overlap the poweroff/poweron requests and not get the
desired result.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ibaf29f423cbfac40eb2d172f9ffb76e8e6aecc8a
diff --git a/amboar/obmc-scripts/reboot/reboot.sh b/amboar/obmc-scripts/reboot/reboot.sh
index 5b035e7..ba5b99a 100755
--- a/amboar/obmc-scripts/reboot/reboot.sh
+++ b/amboar/obmc-scripts/reboot/reboot.sh
@@ -10,9 +10,9 @@
 do
     echo Boot $i
 
-    ssh ${CONNECT} /usr/sbin/obmcutil poweron
+    ssh ${CONNECT} /usr/sbin/obmcutil --wait poweron
     time expect petitboot.exp -- ${CONNECT}
-    ssh ${CONNECT} /usr/sbin/obmcutil poweroff
+    ssh ${CONNECT} /usr/sbin/obmcutil --wait poweroff
 
     i=$(($i + 1))