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())