feat: Remove Jinja2 patch to avoid Markup import error

This commit is contained in:
Carlos Álvaro
2022-06-21 19:21:53 +02:00
parent 4cd16893a0
commit 782e8fe77c
2 changed files with 1 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ for the list of changes in SaltStack.
**3004.2**
- Upgrade `salt-master` to `3004.2` *Silicon*
- Remove Jinja2 patch to avoid Markup import error
**3004.1**

View File

@@ -72,10 +72,6 @@ log_debug "Options: ${SALT_BOOTSTRAP_OPTS[@]}"
sh "${BOOTSTRAP_FILE}" ${SALT_BOOTSTRAP_OPTS[@]} git "v${SALT_VERSION}"
chown -R "${SALT_USER}": "${SALT_ROOT_DIR}"
# Fix Jinja2 version to avoid Markup import error
# https://github.com/saltstack/salt/issues/61848
pip3 install -I markupsafe==2.0.1 jinja2==3.0.3
# Configure ssh
log_info "Configuring ssh ..."
sed -i -e "s|^[# ]*StrictHostKeyChecking.*$| StrictHostKeyChecking no|" /etc/ssh/ssh_config