projects
/
invirt/packages/invirt-remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whoops - I should actually check code after I write it; fix the new RemConfFS
[invirt/packages/invirt-remote.git]
/
files
/
usr
/
sbin
/
sipb-xen-remctl-help
diff --git
a/files/usr/sbin/sipb-xen-remctl-help
b/files/usr/sbin/sipb-xen-remctl-help
index
d390a65
..
2646fbd
100755
(executable)
--- a/
files/usr/sbin/sipb-xen-remctl-help
+++ b/
files/usr/sbin/sipb-xen-remctl-help
@@
-3,7
+3,7
@@
Help on using the Invirt remctl functions.
"""
import sys
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)'),
help = [
('list', 'show your VM\'s state (with xm list)'),
@@
-26,7
+26,7
@@
def print_help(name, text):
def main(args):
args = [n for n in args if n in helpdict]
def main(args):
args = [n for n in args if n in helpdict]
- print 'remctl remote control <machine> <command>'
+ print 'remctl %s control <machine> <command>' % config.remote.hostname
if args:
for name in args:
print_help(name, helpdict[name])
if args:
for name in args:
print_help(name, helpdict[name])