Skip to content

Commit

Permalink
Merge pull request #464 from dtantsur/ipxe-vars
Browse files Browse the repository at this point in the history
Fix invalid iPXE TLS variables
  • Loading branch information
metal3-io-bot authored Dec 19, 2023
2 parents f5587d1 + 1ab059e commit eb21175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/tls-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ if [[ ! -f "$IRONIC_VMEDIA_CERT_FILE" ]] && [[ -f "$IRONIC_VMEDIA_KEY_FILE" ]];
fi

if [[ -f "$IPXE_CERT_FILE" ]] && [[ ! -f "$IPXE_KEY_FILE" ]]; then
echo "Missing TLS Certificate key file $IRONIC_IPXE_CERT_FILE"
echo "Missing TLS Certificate key file $IPXE_KEY_FILE"
exit 1
fi
if [[ ! -f "$IPXE_CERT_FILE" ]] && [[ -f "$IRONIC_VMEDIA_KEY_FILE" ]]; then
echo "Missing TLS Certificate file $IRONIC_VMEDIA_CERT_FILE"
if [[ ! -f "$IPXE_CERT_FILE" ]] && [[ -f "$IPXE_KEY_FILE" ]]; then
echo "Missing TLS Certificate file $IPXE_CERT_FILE"
exit 1
fi

Expand Down

0 comments on commit eb21175

Please sign in to comment.