[PATCH] virtinst: unbreak --disk device suboption

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

 



Hi,
the bus= suboption patch broke disk=. This fixes it.
 -- Guido
# HG changeset patch
# User Guido Günther <agx@xxxxxxxxxxx>
# Date 1225371126 -3600
# Node ID 57d6ddb65b3600d22c2f76b76961c773058f3345
# Parent  8afae838ae9b6151e285063f35647741235a9996
710611367b50 broke the device suboption of --disk. This fixes it.

diff -r 8afae838ae9b -r 57d6ddb65b36 virt-install
--- a/virt-install	Thu Oct 30 13:51:42 2008 +0100
+++ b/virt-install	Thu Oct 30 13:52:06 2008 +0100
@@ -114,7 +114,7 @@
         opt_type, opt_val = opt
         if opt_type == "device":
             devtype = opt_val
-        if opt_type == "bus":
+        elif opt_type == "bus":
             bus = opt_val
         elif opt_type == "perms":
             if opt_val == "ro":
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux