X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/eb558ecccf88e5606ecb3f961b624dd33c4a1faf..701fd288f46b5ed9d60c3c5c1f71f22be3bec76d:/invirt-cache-acls?ds=inline diff --git a/invirt-cache-acls b/invirt-cache-acls index 19673a7..79a7650 100755 --- a/invirt-cache-acls +++ b/invirt-cache-acls @@ -1,4 +1,9 @@ #!/bin/sh +cells () { + for i in $(invirt-getconf -l authz.afs.cells); do + invirt-getconf authz.afs.cells.$i.cell + done +} kinit -k -t /etc/invirt/keytab daemon/$(hostname -f) -aklog athena sipb +aklog $(cells) python /var/www/invirt-web/cache_acls.py