Fix keygen command

This commit is contained in:
Scott Wallace 2022-03-30 09:06:37 +01:00
parent ffa550235b
commit b65959e254
Signed by: scott
GPG key ID: AA742FDC5AFE2A72

View file

@ -20,7 +20,7 @@ fi
if ! test -f ${DATA_DIR}/host.crt; then if ! test -f ${DATA_DIR}/host.crt; then
cd ${DATA_DIR} || exit 1 cd ${DATA_DIR} || exit 1
if ! test -d ${DATA_DIR}/host.csr; then if ! test -d ${DATA_DIR}/host.csr; then
"${BIN_DIR}/nebula-cert" keygen -name "${HOSTNAME}" -out-key host.key -out-pub host.csr "${BIN_DIR}/nebula-cert" keygen -out-key host.key -out-pub host.csr
echo 'You will need to get the `host.csr` file signed by a cluster admin' echo 'You will need to get the `host.csr` file signed by a cluster admin'
exit 3 exit 3
else else