[virt-tools-list] [PATCH] virt-install: fix a typo

Alex Jia ajia at redhat.com
Fri Aug 17 10:52:11 UTC 2012


* virt-install: fix a typo

# virt-install -n demo -r 1024 --disk path=/var/lib/libvirt/images/demo.img,size=6 \
--nonetworks --bridge=breth0sd -c /dev/cdrom
ERROR    Cannot use --bridges with --nonetworks

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=849079

Signed-off-by: Alex Jia <ajia at redhat.com>
---
 virt-install |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/virt-install b/virt-install
index d2cc37a..cb42d56 100755
--- a/virt-install
+++ b/virt-install
@@ -393,7 +393,7 @@ def check_option_collisions(options, guest):
         if options.mac:
             fail(_("Cannot use --mac with --nonetworks"))
         if options.bridge:
-            fail(_("Cannot use --bridges with --nonetworks"))
+            fail(_("Cannot use --bridge with --nonetworks"))
         if options.network:
             fail(_("Cannot use --network with --nonetworks"))
         return
-- 
1.7.1




More information about the virt-tools-list mailing list