chiark / gitweb /
Check for libvirt specific shutoff message
authorAndrew Patrikalakis <anrp@anrp.net>
Sun, 30 Apr 2017 01:38:44 +0000 (18:38 -0700)
committerAndrew Patrikalakis <anrp@anrp.net>
Sun, 30 Apr 2017 01:38:44 +0000 (18:38 -0700)
makebuildserver

index c68a287f0f9d49924cb707706d2c608b100a9d75..523a232a4c6c8a0b3ced049f19d9c855c88f42ef 100755 (executable)
@@ -473,7 +473,7 @@ while not ready:
         sys.exit(1)
     for line in out.splitlines():
         if line.startswith("default"):
-            if line.find("poweroff") != -1:
+            if line.find("poweroff") != -1 or line.find("shutoff") != 1:
                 ready = True
             else:
                 print("Status: " + line)