Last change
on this file since 2013 was
1949,
checked in by price, 16 years ago
|
invirt-cache-acls: get afs cell list from invirt-config
|
-
Property svn:executable set to
*
|
File size:
280 bytes
|
Rev | Line | |
---|
[1947] | 1 | #!/bin/sh |
---|
[1949] | 2 | cells () { |
---|
| 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 | } |
---|
[1947] | 9 | kinit -k -t /etc/invirt/keytab daemon/$(hostname -f) |
---|
[1949] | 10 | aklog $(cells) |
---|
[1947] | 11 | python /var/www/invirt-web/cache_acls.py |
---|
Note: See
TracBrowser
for help on using the repository browser.