X-Git-Url: http://git.onelab.eu/?p=pcucontrol.git;a=blobdiff_plain;f=pcucontrol%2Freboot.py;fp=pcucontrol%2Freboot.py;h=122edbb8649b83454f16559d43c405fa2373c444;hp=f7c28101b5f5c3366846ed85ed6408b7cabe10e4;hb=f6416e374b2387aaa6a0966059aa7ec283bf1f28;hpb=9790748566f28bb65c9b0fff15c833d956a412b9 diff --git a/pcucontrol/reboot.py b/pcucontrol/reboot.py index f7c2810..122edbb 100755 --- a/pcucontrol/reboot.py +++ b/pcucontrol/reboot.py @@ -120,7 +120,7 @@ class Transport: 443 : HTTPS, 80 : HTTP, 9100 : IPAL, - 623 : IPMI, + 623 : IPMI, 16992 : AMT, } @@ -219,7 +219,7 @@ class Transport: output = self.transport.read_until(expected, self.TELNET_TIMEOUT) if output.find(expected) == -1: print "OUTPUT: --%s--" % output - raise ErrorClass, "'%s' not found" % expected + raise ErrorClass, "'%s' not found: Got: %s" % (expected, output) else: self.transport.write(buffer + "\r\n") else: