Changeset 813
- Timestamp:
- Aug 1, 2008, 11:50:51 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-console-server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-console-server/config.todo
r810 r813 2 2 files/etc/conserver/conserver.cf.sipb-xen: master-vm name 3 3 files/usr/sbin/sipb-xen-update-conserver: db uri 4 files/usr/sbin/sipb-xen-update-conserver: proxy hostname -
trunk/packages/sipb-xen-console-server/debian/changelog
r811 r813 2 2 3 3 * use invirt.config rather than /etc/invirt/* directly 4 * get console-server hostname from config 4 5 5 -- Greg Price <price@mit.edu> Fri, 1 Aug 2008 23:4 1:00-04006 -- Greg Price <price@mit.edu> Fri, 1 Aug 2008 23:49:26 -0400 6 7 7 8 sipb-xen-console-server (2.04) unstable; urgency=low -
trunk/packages/sipb-xen-console-server/files/usr/sbin/sipb-xen-update-conserver
r811 r813 24 24 realm = config.authn[0].realm 25 25 principal = 'host/'+hostname+'@'+realm 26 conf ig= '\n'.join('console %s { master %s; }' % (vm, hostname)27 for vm in live_vms())26 conftext = '\n'.join('console %s { master %s; }' % (vm, hostname) 27 for vm in live_vms()) 28 28 f = open('/etc/conserver/sipb-xen-consoles.cf', 'w') 29 f.write(conf ig)29 f.write(conftext) 30 30 f.close() 31 31 reload_conserver() 32 32 subprocess.call(['/usr/bin/kinit', '-k', '-t', '/etc/krb5.keytab', 33 33 principal]) 34 subprocess.call(['/usr/bin/remctl', 'sipb-xen-console.mit.edu',35 'console', 'update', conf ig])34 subprocess.call(['/usr/bin/remctl', config.console.hostname, 35 'console', 'update', conftext])
Note: See TracChangeset
for help on using the changeset viewer.