3 Lists the VMs belonging to the remote user.
6 from subprocess import PIPE, Popen, call
13 print >>sys.stderr, "usage: invirt-remote-list"
16 username = os.environ['REMOTE_USER'].rsplit('@ATHENA.MIT.EDU')[0]
17 p = Popen(['/usr/sbin/invirt-remote-listuser', username], stdout=PIPE)
18 output = p.communicate()[0]
24 if __name__ == '__main__':
25 sys.exit(main(sys.argv))