- Timestamp:
- Aug 14, 2008, 3:11:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-console/debian/sipb-xen-console.init
r887 r888 38 38 gen_config() 39 39 { 40 { 41 for i in $(invirt-getconf --ls hosts); do 42 local hostname=$(invirt-getconf hosts.$i.hostname) 43 echo "#include /etc/conserver/conf.d/$hostname" 44 done 45 } > /etc/conserver/invirt-hosts.cf 46 local realm=$(invirt-getconf authn.0.realm) 47 { 48 for i in $(invirt-getconf --ls hosts); do 49 local hostname=$(invirt-getconf hosts.$i.hostname) 50 echo "host/$hostname@$realm" 51 done 52 } > /etc/remctl/acl/invirt-console 53 54 mako-render /etc/nss-pgsql.conf.mako > /etc/nss-pgsql.conf 55 56 fmt > /etc/issue.net.no_tkt << EOF 57 You must login to the $(invirt-getconf console.hostname) console server using 58 Kerberos tickets, but your ssh client did not pass a valid ticket to the 59 console server. 60 EOF 40 for i in /etc/conserver/invirt-hosts.cf \ 41 /etc/remctl/acl/invirt-console \ 42 /etc/issue.net.no_tkt \ 43 /etc/nss-pgsql.conf \ 44 ; do 45 mako-render $i.mako > $i 46 done 61 47 } 62 48
Note: See TracChangeset
for help on using the changeset viewer.