git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2554
94cd875c-1c1d-0410-91d2-
eb244daf1a30
</description>
</link>
</collection>
+ <link name="template">
+ <description>
+Symlink to the default template for this distribution.
+ </description>
+ </link>
</collection>
<!-- Vserver configuration -->
getDistribution '' 1
+for d in "$__CONFDIR/.distributions/$DISTRIBUTION" \
+ "$__DISTRIBDIR/$DISTRIBUTION"; do
+ if test -r "$d/template"; then
+ TEMPLATE=( "$d/template" "${TEMPLATE[@]}" )
+ fi
+done
+
base.init
test -z "$use_pkgmgmt" || pkgmgmt.initVariables