OpenBMC reboot loop for POWER hosts

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/petitboot.exp b/petitboot.exp
new file mode 100644
index 0000000..5477054
--- /dev/null
+++ b/petitboot.exp
@@ -0,0 +1,12 @@
+#!/usr/bin/expect -df --
+
+set timeout 300
+
+spawn ssh -p2200 $argv
+
+expect {
+	-ex "Petitboot"	{ exit }
+	timeout 	{ exit 1 }
+	eof		{ exit 2 }
+	.*		{ exp_continue }
+}