Merge pull request #279 from chriswells0/default-templates

Use templates for configuring new jails.
This commit is contained in:
Christer Edwards
2020-12-31 15:00:13 -07:00
committed by GitHub
9 changed files with 118 additions and 55 deletions

View File

@@ -178,6 +178,7 @@ bootstrap_directories() {
else
mkdir -p "${bastille_templatesdir}"
fi
ln -s "${bastille_sharedir}/templates/default" "${bastille_templatesdir}/default"
fi
## ${bastille_releasesdir}
@@ -318,6 +319,7 @@ bootstrap_template() {
else
mkdir -p "${bastille_templatesdir}"
fi
ln -s "${bastille_sharedir}/templates/default" "${bastille_templatesdir}/default"
fi
## define basic variables