Changeset 1615 for trunk/packages/invirt-web/code/controls.py
- Timestamp:
- Nov 11, 2008, 4:32:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/controls.py
r1614 r1615 168 168 """Return the host a machine is running on""" 169 169 out, err = remctl('control', machine.name, 'listhost', err=True) 170 if err: 171 return None 172 return out.strip() 173 174 def vnctoken(machine): 175 """Return a time-stamped VNC token""" 176 out, err = remctl('control', machine.name, 'vnctoken') 170 177 if err: 171 178 return None
Note: See TracChangeset
for help on using the changeset viewer.