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]
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"
- % ('sipb-xen-remote-proxy-web', p.returncode))
+ % ('invirt-remote-proxy-web', p.returncode))
vms = yaml.load(output, yaml.CSafeLoader)
if machine_name in vms: