Fix keygen command
This commit is contained in:
parent
ffa550235b
commit
b65959e254
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue