Skip to content

Commit

Permalink
Fix typo in cns-hook-util
Browse files Browse the repository at this point in the history
  • Loading branch information
bahamat committed Jan 11, 2021
1 parent 9cfec87 commit 8a60011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cns-hook-util
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function deploy_cert {
openssl dhparam 2048 > "${certdir}/dhparams.pem"
fi
cat "${keyfile}" "${fullchainfile}" "${certdir}/dhparams.pem" > "${certdir}/cert.pem"
cp "${certder}/cert.pem" "/zones/${vmuuid}/root/data/tls/cert.pem"
cp "${certdir}/cert.pem" "/zones/${vmuuid}/root/data/tls/cert.pem"
zlogin "${vmuuid}" svcadm restart haproxy
echo "OK: cloudapi certificate deployed and haproxy restarted" >&2
;;
Expand Down

0 comments on commit 8a60011

Please sign in to comment.