From 0595ed94437d2a2f72846bf42693b9dcef643500 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 30 Mar 2022 13:26:38 +0100 Subject: [PATCH] Comment updates --- docker-entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index e728173..6e2f11b 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -4,10 +4,10 @@ ARCH=$(uname -m) BIN_DIR=/app/linux-${ARCH} DATA_DIR=/etc/nebula -# --------------------- TESTING ONLY ------------------------ # Build host certs if they don't exist if ! test -f ${DATA_DIR}/host.crt; then cd ${DATA_DIR} || exit 1 + # Generate a CSR if it doesn't already exist if ! test -d ${DATA_DIR}/host.csr; then "${BIN_DIR}/nebula-cert" keygen -out-key host.key -out-pub host.csr # shellcheck disable=SC2016 @@ -19,7 +19,6 @@ if ! test -f ${DATA_DIR}/host.crt; then exit 4 fi fi -# ----------------------------------------------------------- # Run the platform-specific binary "${BIN_DIR}/nebula" -config ${DATA_DIR}/config.yaml