mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 21:57:49 +08:00
fix data arg
This commit is contained in:
parent
0060d2bd04
commit
675a900b9a
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ configure_netclient() {
|
||||||
nmctl network create --name internet-access-vpn --ipv4_addr 100.65.0.0/16
|
nmctl network create --name internet-access-vpn --ipv4_addr 100.65.0.0/16
|
||||||
sleep 5
|
sleep 5
|
||||||
INET_NODE_ID=$(sudo cat /etc/netclient/nodes.json | jq -r .internet-access-vpn.id)
|
INET_NODE_ID=$(sudo cat /etc/netclient/nodes.json | jq -r .internet-access-vpn.id)
|
||||||
curl --location --request POST "https://api.${NETMAKER_BASE_DOMAIN}/api/v1/nodes/internet-access-vpn/${INET_NODE_ID}/inet_gw" -data '{}' --header "Authorization: Bearer ${MASTER_KEY}"
|
curl --location --request POST "https://api.${NETMAKER_BASE_DOMAIN}/api/v1/nodes/internet-access-vpn/${INET_NODE_ID}/inet_gw" --data '{}' --header "Authorization: Bearer ${MASTER_KEY}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
Loading…
Reference in a new issue