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
sipb-xen -> invirt for remote-server
[invirt/packages/invirt-remote.git]
/
files
/
usr
/
sbin
/
invirt-remote-create
diff --git
a/files/usr/sbin/sipb-xen-remote-create
b/files/usr/sbin/invirt-remote-create
similarity index 87%
rename from
files/usr/sbin/sipb-xen-remote-create
rename to
files/usr/sbin/invirt-remote-create
index
f957a59
..
db1b676
100755
(executable)
--- a/
files/usr/sbin/sipb-xen-remote-create
+++ b/
files/usr/sbin/invirt-remote-create
@@
-21,7
+21,7
@@
def choose_host():
def main(argv):
if len(argv) < 3:
def main(argv):
if len(argv) < 3:
- print >> sys.stderr, "usage: sipb-xen-remote-create <operation> <machine> [<other args...>]"
+ print >> sys.stderr, "usage: invirt-remote-create <operation> <machine> [<other args...>]"
return 2
operation = argv[1]
machine_name = argv[2]
return 2
operation = argv[1]
machine_name = argv[2]
@@
-37,11
+37,11
@@
def main(argv):
print >> sys.stderr, "Arguments to the autoinstaller cannot contain spaces"
return 1
print >> sys.stderr, "Arguments to the autoinstaller cannot contain spaces"
return 1
- p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+ p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
output = p.communicate()[0]
if p.returncode != 0:
raise RuntimeError("Command '%s' returned non-zero exit status %d"
output = p.communicate()[0]
if p.returncode != 0:
raise RuntimeError("Command '%s' returned non-zero exit status %d"
- % ('sipb-xen-remote-proxy-web', p.returncode))
+ % ('invirt-remote-proxy-web', p.returncode))
vms = yaml.load(output, yaml.CSafeLoader)
if machine_name in vms:
vms = yaml.load(output, yaml.CSafeLoader)
if machine_name in vms: