Revision 76f2ae77 image_creator/os_type/windows.py
b/image_creator/os_type/windows.py | ||
---|---|---|
249 | 249 |
if not self._wait_on_file(monitor, token): |
250 | 250 |
raise FatalError("Windows booting timed out.") |
251 | 251 |
else: |
252 |
time.sleep(10) # Just to be sure everything is up |
|
252 | 253 |
self.out.success('done') |
253 | 254 |
|
254 |
time.sleep(5) # Just to be sure everything is up |
|
255 |
|
|
256 | 255 |
self.out.output("Disabling automatic logon ...", False) |
257 | 256 |
self._disable_autologon() |
258 | 257 |
self.out.success('done') |
... | ... | |
627 | 626 |
|
628 | 627 |
if rc != 0 and fatal: |
629 | 628 |
reason = stderr if len(stderr) else stdout |
629 |
self.out.output("Command: `%s' failed. Reason: %s" % |
|
630 |
(command, reason)) |
|
630 | 631 |
raise FatalError("Command: `%s' failed. Reason: %s" % |
631 | 632 |
(command, reason)) |
632 | 633 |
|
Also available in: Unified diff