Changeset 1614 for trunk/packages/invirt-web/code
- Timestamp:
- Nov 11, 2008, 4:32:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/controls.py
r1613 r1614 10 10 from invirt.config import structs as config 11 11 from invirt.database import Machine, Disk, Type, NIC, CDROM, session, meta 12 from invirt.remctl import remctl 12 from invirt.remctl import remctl as gen_remctl 13 13 14 14 # ... and stolen from xend/uuid.py … … 23 23 "%02x" * 6]) % tuple(u) 24 24 # end stolen code 25 26 def remctl(*args, **kwargs): 27 return gen_remctl(config.remote.hostname, *args, 28 principal='daemon/'+config.web.hostname, 29 **kwargs) 25 30 26 31 def lvcreate(machine, disk):
Note: See TracChangeset
for help on using the changeset viewer.