add serverspecific.sls

This commit is contained in:
LinuxSquare 2024-03-09 21:18:39 +01:00
parent 354a61dbbb
commit 4c246b8b04

View file

@ -411,6 +411,14 @@ os: Alpine
os_family: Alpine
EOT
cat >"${INSTALLATION_MOUNTPOINT}/${INSTALLATION_SALT_ROOT}/serverspecific.sls" <<SERVERSPECIFIC || installationFailed
include:
SERVERSPECIFIC
for additional in ${$ADDITIONAL_STATES_ARR[@]}; do
echo -e " - $state" >> "${INSTALLATION_MOUNTPOINT}/${INSTALLATION_SALT_ROOT}/serverspecific.sls"
done
installationSubtaskTitle "Populate Pillars"
mkdir -p ${INSTALLATION_MOUNTPOINT}/${INSTALLATION_PILLAR_ROOT}
#git clone ${INSTALLATION_PILLAR_GIT} ${INSTALLATION_MOUNTPOINT}/${INSTALLATION_PILLAR_ROOT}