Changeset 811 for trunk/packages/sipb-xen-console-server
- Timestamp:
- Aug 1, 2008, 11:43:27 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-console-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-console-server/debian/changelog
r709 r811 1 sipb-xen-console-server (2.05) unstable; urgency=low 2 3 * use invirt.config rather than /etc/invirt/* directly 4 5 -- Greg Price <price@mit.edu> Fri, 1 Aug 2008 23:41:00 -0400 6 1 7 sipb-xen-console-server (2.04) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-console-server/files/usr/sbin/sipb-xen-update-conserver
r706 r811 5 5 import os 6 6 import socket 7 from invirt.config import structs as config 7 8 8 9 sipb_xen_database.connect('postgres://sipb-xen@sipb-xen-dev.mit.edu/sipb_xen') … … 21 22 if __name__ == '__main__': 22 23 hostname = socket.getfqdn().lower() 23 realm = file('/etc/invirt/realm').read().strip()24 realm = config.authn[0].realm 24 25 principal = 'host/'+hostname+'@'+realm 25 26 config = '\n'.join('console %s { master %s; }' % (vm, hostname)
Note: See TracChangeset
for help on using the changeset viewer.