source: package_tags/invirt-web/0.0.18/invirt-cache-acls @ 2917

Last change on this file since 2917 was 1949, checked in by price, 15 years ago

invirt-cache-acls: get afs cell list from invirt-config

  • Property svn:executable set to *
File size: 280 bytes
Line 
1#!/bin/sh
2cells () {
3  for i in $(invirt-getconf -l authz); do
4    if [ afs = "$(invirt-getconf authz.$i.type)" ]; then
5      invirt-getconf authz.$i.cell
6    fi
7  done
8}
9kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
10aklog $(cells)
11python /var/www/invirt-web/cache_acls.py
Note: See TracBrowser for help on using the repository browser.