Add another remctl command for webland.
authorTim Abbott <tabbott@mit.edu>
Sun, 7 Oct 2007 22:02:31 +0000 (18:02 -0400)
committerTim Abbott <tabbott@mit.edu>
Sun, 7 Oct 2007 22:02:31 +0000 (18:02 -0400)
svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=122

files/etc/remctl/conf.d/sipb-xen-web
files/usr/sbin/sipb-xen-listvms [new file with mode: 0755]

index 179c4ff..3c1225f 100644 (file)
@@ -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 (executable)
index 0000000..45add61
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+xm uptime