svn path=/trunk/packages/invirt-console/; revision=1836
+invirt-console (0.2.4) unstable; urgency=low
+
+ * config.{authn[0] => kerberos}.realm
+
+ -- Evan Broder <broder@mit.edu> Wed, 10 Dec 2008 23:06:24 -0500
+
invirt-console (0.2.3) unstable; urgency=low
* ...and /home/machines
invirt-console (0.2.3) unstable; urgency=low
* ...and /home/machines
if __name__ == '__main__':
hostname = socket.getfqdn().lower()
if __name__ == '__main__':
hostname = socket.getfqdn().lower()
- realm = config.authn[0].realm
+ realm = config.kerberos.realm
principal = 'host/'+hostname+'@'+realm
conftext = '\n'.join('console %s { master %s; }' % (vm, hostname)
for vm in live_vms())
principal = 'host/'+hostname+'@'+realm
conftext = '\n'.join('console %s { master %s; }' % (vm, hostname)
for vm in live_vms())
<% from invirt.config import structs as cfg %>\
% for h in cfg.hosts:
<% from invirt.config import structs as cfg %>\
% for h in cfg.hosts:
-host/${h.hostname}@${cfg.authn[0].realm}
+host/${h.hostname}@${cfg.kerberos.realm}
(princ, realm) = user.split('@')
else:
princ = user
(princ, realm) = user.split('@')
else:
princ = user
- realm = config.authn[0].realm
+ realm = config.kerberos.realm
return princ.replace('.', '/') + '@' + realm
return princ.replace('.', '/') + '@' + realm