Ignore:
Timestamp:
Dec 30, 2008, 7:52:56 PM (15 years ago)
Author:
price
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/invirt-cache-acls

    r1947 r1949  
    11#!/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}
    29kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
    3 aklog athena sipb
     10aklog $(cells)
    411python /var/www/invirt-web/cache_acls.py
Note: See TracChangeset for help on using the changeset viewer.