Skip to content

Commit 2162acc

Browse files
authored
Merge pull request #716 from alexpilotti/env_cacert_fix
Fix ca-file path in env.rc
2 parents 875f3ef + 27509cc commit 2162acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/env.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if [[ "$CAPO_DOMAIN_ID" != "" && "$CAPO_DOMAIN_ID" != "null" ]]; then
117117
fi
118118

119119
if [[ "$CAPO_CACERT_ORIGINAL" != "" && "$CAPO_CACERT_ORIGINAL" != "null" ]]; then
120-
echo "ca-file=\"${CAPO_CACERT_ORIGINAL}\"" >> ${CAPO_CLOUD_PROVIDER_CONF_TMP}
120+
echo "ca-file=\"/etc/certs/cacert\"" >> ${CAPO_CLOUD_PROVIDER_CONF_TMP}
121121
fi
122122
if [[ "$CAPO_REGION" != "" && "$CAPO_REGION" != "null" ]]; then
123123
echo "region=\"${CAPO_REGION}\"" >> ${CAPO_CLOUD_PROVIDER_CONF_TMP}

0 commit comments

Comments
 (0)