Skip to content

Commit 73f9e0a

Browse files
committed
fix incorrect htpaswd file generation
This commit: - removes the unnecessary parts of the htpaswd file generation and clears up the content of the file The reason: - The original command was designed to generate an env variable but the new ironic-image logic expects the content of to be suitable for a htpaswd file this the variable name and the "=" is not needed. Signed-off-by: Adam Rozman <[email protected]>
1 parent 536b43c commit 73f9e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ if [[ "${DEPLOY_BASIC_AUTH}" == "true" ]]; then
148148
fi
149149

150150
if [[ "${DEPLOY_IRONIC}" == "true" ]]; then
151-
echo "IRONIC_HTPASSWD=$(htpasswd -n -b -B "${IRONIC_USERNAME}" "${IRONIC_PASSWORD}")" > \
151+
htpasswd -n -b -B "${IRONIC_USERNAME}" "${IRONIC_PASSWORD}" > \
152152
"${TEMP_IRONIC_OVERLAY}/ironic-htpasswd"
153153
fi
154154
fi

0 commit comments

Comments
 (0)