[virt-tools-list] [virt-manager PATCH] virt-install: fix --wait=0 to behave like --noautoconsole

Pavel Hrdina phrdina at redhat.com
Wed Jan 18 12:22:14 UTC 2017


Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1371781

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed under trivial rule.

 virt-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virt-install b/virt-install
index 5a4080fb..f1da1000 100755
--- a/virt-install
+++ b/virt-install
@@ -647,7 +647,7 @@ def build_guest_instance(conn, options):
 ###########################
 
 def start_install(guest, options):
-    if options.wait:
+    if options.wait is not None:
         wait_on_install = True
         wait_time = options.wait * 60
         if "VIRTINST_TEST_SUITE" in os.environ and wait_time:
-- 
2.11.0




More information about the virt-tools-list mailing list