[node-patches] Change in ovirt-node[master]: [RFE] hack to allow remote feature query via ssh

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Sep 2 10:26:33 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: [RFE] hack to allow remote feature query via ssh
......................................................................

[RFE] hack to allow remote feature query via ssh

Change-Id: I6993e3ce1d0552e54badd8b38df47e7973ad3531
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-admin-shell
1 file changed, 8 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/78/18778/1

diff --git a/scripts/ovirt-admin-shell b/scripts/ovirt-admin-shell
index ca4d338..db6b6e9 100755
--- a/scripts/ovirt-admin-shell
+++ b/scripts/ovirt-admin-shell
@@ -8,8 +8,14 @@
     TTY=`echo $TTY|sed 's/\///g'`
     sudo rm -rf /tmp/ovirt-setup.$TTY
 fi
-sudo /usr/bin/ovirt-node-setup
-reset
+
+if $2 == "features"
+then
+    sudo /usr/bin/ovirt-node-features dumpxml
+else
+    sudo /usr/bin/ovirt-node-setup
+    reset
+fi
 
 # check for logout return code and drop to login prompt
 ret=$?


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6993e3ce1d0552e54badd8b38df47e7973ad3531
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list