- k5login_fd, k5login_name = tempfile.mkstemp()
- k5login = os.fdopen(k5login_fd, 'r+')
- print >>k5login, '\n'.join(all_devs)
+ with atomic_write('/etc/remctl/conf.d/repo_admin') as f:
+ print >>f, 'create repo /usr/bin/invirt-add-repo /etc/remctl/acl/repo_admin'