mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-26 17:25:22 +03:00
virt-install: fix --wait=0 to behave like --noautoconsole
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1371781 Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
888fcf7aec
commit
f07a3021d9
@ -647,7 +647,7 @@ def build_guest_instance(conn, options):
|
|||||||
###########################
|
###########################
|
||||||
|
|
||||||
def start_install(guest, options):
|
def start_install(guest, options):
|
||||||
if options.wait:
|
if options.wait is not None:
|
||||||
wait_on_install = True
|
wait_on_install = True
|
||||||
wait_time = options.wait * 60
|
wait_time = options.wait * 60
|
||||||
if "VIRTINST_TEST_SUITE" in os.environ and wait_time:
|
if "VIRTINST_TEST_SUITE" in os.environ and wait_time:
|
||||||
|
Loading…
Reference in New Issue
Block a user