[node-patches] Change in ovirt-node[master]: fix edit-node options check for plugins

jboggs at redhat.com jboggs at redhat.com
Fri Feb 22 02:54:28 UTC 2013


Joey Boggs has uploaded a new change for review.

Change subject: fix edit-node options check for plugins
......................................................................

fix edit-node options check for plugins

Change-Id: I8a27b9e63a27d97d17606122f1d043732951b5ff
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M tools/edit-node
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/05/12305/1

diff --git a/tools/edit-node b/tools/edit-node
index 78c4445..28084b8 100755
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -1382,7 +1382,6 @@
     if os.geteuid () != 0:
         print >> sys.stderr, "You must run edit-node as root"
         return 1
-
     if options.name:
         name = options.name
     elif stat.S_ISBLK(os.stat(LiveOS).st_mode):
@@ -1497,7 +1496,7 @@
                 edited_iso = os.path.join(output, editor.name + ".iso")
                 if options.install_dup:
                     n = options.install_dup
-                elif options.install_plugin:
+                elif options.plugin:
                     n = options.install_plugin
                 elif options.install:
                     n = options.install


--
To view, visit http://gerrit.ovirt.org/12305
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a27b9e63a27d97d17606122f1d043732951b5ff
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list