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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---

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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux