cluster: RHEL54 - rgmanager: Fix missing path attribute handling

Lon Hohberger lon at fedoraproject.org
Mon Nov 16 15:25:32 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f6c4f1c70c16029f2f95e4aae785456d071e9652
Commit:        f6c4f1c70c16029f2f95e4aae785456d071e9652
Parent:        24e3de3487263c918c7be581209243bb84f1d265
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Thu Aug 27 15:12:46 2009 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Nov 16 10:23:48 2009 -0500

rgmanager: Fix missing path attribute handling

If using the Xen hypervisor with vm configs in a non
standard location (e.g. not /etc/xen), rgmanager was
ignoring the path attribute, preventing VM management.

Resolves: rhbz#519786

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 rgmanager/src/resources/vm.sh |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/rgmanager/src/resources/vm.sh b/rgmanager/src/resources/vm.sh
index 24e286d..df0c9b7 100755
--- a/rgmanager/src/resources/vm.sh
+++ b/rgmanager/src/resources/vm.sh
@@ -141,6 +141,17 @@ meta_data()
             <content type="string" default="live"/>
         </parameter>
 
+	<parameter name="path">
+	    <longdesc lang="en">
+		Path specification 'xm create' will search for the specified
+ 		VM configuration file
+	    </longdesc>
+	    <shortdesc lang="en">
+		Path to virtual machine configuration files
+ 	    </shortdesc>
+	    <content type="string"/>
+ 	</parameter>
+
 	<parameter name="snapshot">
 	    <longdesc lang="en">
 	    	Path to the snapshot directory where the virtual machine


More information about the cluster-commits mailing list