From 5fe0dc968098b768342a909d48c0aaa3e765d2da Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 7 Oct 2007 18:02:31 -0400 Subject: [PATCH 1/1] Add another remctl command for webland. svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=122 --- files/etc/remctl/conf.d/sipb-xen-web | 2 +- files/usr/sbin/sipb-xen-listvms | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 files/usr/sbin/sipb-xen-listvms diff --git a/files/etc/remctl/conf.d/sipb-xen-web b/files/etc/remctl/conf.d/sipb-xen-web index 179c4ff..3c1225f 100644 --- a/files/etc/remctl/conf.d/sipb-xen-web +++ b/files/etc/remctl/conf.d/sipb-xen-web @@ -2,4 +2,4 @@ web lvcreate /usr/sbin/sipb-xen-lvcreate /etc/remctl/acl/web web vmboot /usr/sbin/sipb-xen-boot /etc/remctl/acl/web web register /usr/sbin/remctl-update.sh /etc/remctl/acl/web web remctl-moira-update all /usr/sbin/remctl-update.sh /etc/remctl/acl/web - +web listvms /usr/sbin/sipb-xen-listvms /etc/remctl/acl/web diff --git a/files/usr/sbin/sipb-xen-listvms b/files/usr/sbin/sipb-xen-listvms new file mode 100755 index 0000000..45add61 --- /dev/null +++ b/files/usr/sbin/sipb-xen-listvms @@ -0,0 +1,3 @@ +#!/bin/sh + +xm uptime -- 1.7.9.5