This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

resource-agents: master - resource-agents: Fix missing path attributehandling


Gitweb:        http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=c7f1022dcaa7054c031de96379cf9afab80fb3b0
Commit:        c7f1022dcaa7054c031de96379cf9afab80fb3b0
Parent:        a3b3de456efbc3b6d6327053b08b9d5fa912070f
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Thu Aug 27 15:12:46 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Fri Aug 28 09:54:22 2009 -0400

resource-agents: 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.

Signed-off-by: Lon Hohberger <lhh@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 4e701e5..0d3173c 100644
--- a/rgmanager/src/resources/vm.sh
+++ b/rgmanager/src/resources/vm.sh
@@ -150,6 +150,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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]