mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 05:04:27 +08:00
rm certs ref from upgrade script
This commit is contained in:
parent
a9ce842d1e
commit
fd95e80dc7
1 changed files with 1 additions and 7 deletions
|
@ -5,8 +5,7 @@ CONFIG_FILE=netmaker.env
|
|||
SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
||||
CONFIG_PATH="$SCRIPT_DIR/$CONFIG_FILE"
|
||||
NM_QUICK_VERSION="0.1.0"
|
||||
LATEST=$(curl -s https://api.github.com/repos/gravitl/netmaker/releases/latest | grep "tag_name" | cut -d : -f 2,3 | tr -d [:space:],\")
|
||||
|
||||
LATEST="v0.21.2"
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "This script must be run as root"
|
||||
exit 1
|
||||
|
@ -440,7 +439,6 @@ install_netmaker() {
|
|||
wget -qO "$SCRIPT_DIR"/Caddyfile "$CADDY_URL"
|
||||
wget -qO "$SCRIPT_DIR"/netmaker.default.env "$BASE_URL/scripts/netmaker.default.env"
|
||||
wget -qO "$SCRIPT_DIR"/mosquitto.conf "$BASE_URL/docker/mosquitto.conf"
|
||||
wget -qO "$SCRIPT_DIR"/nm-certs.sh "$BASE_URL/scripts/nm-certs.sh"
|
||||
wget -qO "$SCRIPT_DIR"/wait.sh "$BASE_URL/docker/wait.sh"
|
||||
|
||||
chmod +x "$SCRIPT_DIR"/wait.sh
|
||||
|
@ -450,10 +448,6 @@ install_netmaker() {
|
|||
ln -fs "$SCRIPT_DIR/netmaker.env" "$SCRIPT_DIR/.env"
|
||||
save_config
|
||||
|
||||
# Fetch / update certs using certbot
|
||||
chmod +x "$SCRIPT_DIR"/nm-certs.sh
|
||||
"$SCRIPT_DIR"/nm-certs.sh
|
||||
|
||||
echo "Starting containers..."
|
||||
|
||||
# increase the timeouts
|
||||
|
|
Loading…
Add table
Reference in a new issue