X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/10db290b6d7a05239bd3579dbb6f5cc937137ab7..c7a4b1ed77b6091d7a9bf27c59e098bdff84474e:/files/usr/sbin/sipb-xen-remctl-help?ds=sidebyside diff --git a/files/usr/sbin/sipb-xen-remctl-help b/files/usr/sbin/sipb-xen-remctl-help index e497d29..4f71e99 100755 --- a/files/usr/sbin/sipb-xen-remctl-help +++ b/files/usr/sbin/sipb-xen-remctl-help @@ -3,10 +3,11 @@ Help on using the Invirt remctl functions. """ import sys - +from invirt.config import structs as config help = [ ('list', 'show your VM\'s state (with xm list)'), + ('listhost', 'show on what host, if any, your VM is running'), ('list-long', 'show your VM\'s state as an sexp (with xm list --long)'), ('vcpu-list', 'show your VM\'s state (with xm vcpu-list)'), ('uptime', 'show your VM\'s state (with xm uptime)'), @@ -14,7 +15,7 @@ help = [ ('shutdown', 'shut down your VM, softly if paravm (with xm shutdown)'), ('create', 'start up your VM (with xm create)'), ('reboot', 'reboot your VM (with xm destroy and xm create)'), - #also install + ('install', 'autoinstall your VM (takes a series of key=value pairs; \n\t\tvalid arguments include mirror, dist, arch, imagesize,\n\t\tand noinstall)'), #also CD images on create/reboot ] helpdict = dict(help) @@ -25,7 +26,7 @@ def print_help(name, text): def main(args): args = [n for n in args if n in helpdict] - print 'remctl remote control ' + print 'remctl %s control ' % config.remote.hostname if args: for name in args: print_help(name, helpdict[name])