Skip to content

Commit

Permalink
set failover
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Jan 9, 2025
1 parent 43ba9a8 commit d1a9fa9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/nm-quick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,12 @@ configure_netclient() {
nmctl host update $HOST_ID --default
sleep 5
nmctl node create_remote_access_gateway netmaker $NODE_ID

sleep 2
# create network for internet access vpn
if [ "$INSTALL_TYPE" = "pro" ]; then
#setup failOver
curl --location --request POST "https://api.${NETMAKER_BASE_DOMAIN}/api/v1/node/${NODE_ID}/failover" --header "Authorization: Bearer ${MASTER_KEY}"
fi
set -e
}

Expand Down

0 comments on commit d1a9fa9

Please sign in to comment.
  NODES
COMMUNITY 1
INTERN 1
Note 1
Project 3
USERS 1