make default host failover on install

This commit is contained in:
abhishek9686 2024-01-25 23:35:01 +05:30
parent 5abca21b5e
commit e220143ff3

View file

@ -162,6 +162,9 @@ configure_netclient() {
nmctl host update $HOST_ID --default
sleep 5
nmctl node create_ingress netmaker $NODE_ID
#setup failOver
sleep 5
curl --location --request POST "https://api.${NETMAKER_BASE_DOMAIN}/api/v1/node/${NODE_ID}/failover" --header "Authorization: Bearer ${MASTER_KEY}"
set -e
}