Skip to content

Commit 27509cc

Browse files
committed
Fix ca-file path in env.rc
1 parent 875f3ef commit 27509cc

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)