4 Retrieves the VNC certificate from an Invirt host
7 from invirt.config import structs as config
8 from subprocess import Popen, call, PIPE
14 print >> sys.stderr, "usage: invirt-remote-vnccert <host>"
19 if host not in list(i.hostname for i in config.hosts):
20 print >> sys.stderr, "Invalid hostname specified"
23 return call(['remctl', host, 'remote', 'web', 'vnccert'])
25 if __name__ == '__main__':
26 sys.exit(main(sys.argv))