Changeset 800 for trunk/packages/sipb-xen-console/debian
- Timestamp:
- Jul 30, 2008, 10:29:17 PM (16 years ago)
- Location:
- trunk/packages/sipb-xen-console/debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-console/debian/changelog
r699 r800 1 sipb-xen-console (7.6) unstable; urgency=low 2 3 * Use invirt-getconf to generate config. 4 5 -- Greg Price <price@mit.edu> Wed, 30 Jul 2008 22:28:33 -0400 6 1 7 sipb-xen-console (7.5) unstable; urgency=low 2 8 -
trunk/packages/sipb-xen-console/debian/sipb-xen-console.init
r699 r800 38 38 gen_config() 39 39 { 40 perl -pe 's|^|#include /etc/conserver/conf.d/|' \ 41 </etc/invirt/hosts >/etc/conserver/invirt-hosts.cf 42 INVIRT_REALM="$(cat /etc/invirt/realm)" 43 perl -pe "s|^|host/|; s|\$|\@$INVIRT_REALM|" \ 44 </etc/invirt/hosts >/etc/remctl/acl/invirt-console 40 (for i in $(invirt-getconf --ls hosts); do 41 hostname=$(invirt-getconf hosts.$i.hostname) 42 echo "#include /etc/conserver/conf.d/$hostname" 43 done) >/etc/conserver/invirt-hosts.cf 44 realm=$(invirt-getconf authn.0.realm) 45 (for i in $(invirt-getconf --ls hosts); do 46 hostname=$(invirt-getconf hosts.$i.hostname) 47 echo "host/$hostname@$realm" 48 done) >/etc/remctl/acl/invirt-console 45 49 } 46 50
Note: See TracChangeset
for help on using the changeset viewer.