更新 goedge_add_node.sh
This commit is contained in:
parent
460cae3de8
commit
cac50269be
@ -199,7 +199,6 @@ create_node_payload=$(cat <<EOF
|
|||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "[INFO] createNode 请求体:$create_node_payload"
|
|
||||||
create_node_resp=$(curl -s -X POST \
|
create_node_resp=$(curl -s -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "X-Edge-Access-Token: $TOKEN" \
|
-H "X-Edge-Access-Token: $TOKEN" \
|
||||||
@ -245,7 +244,6 @@ create_ips_payload=$(cat <<EOF
|
|||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "[INFO] createNodeIPAddresses 请求体:$create_ips_payload"
|
|
||||||
create_ips_resp=$(curl -s -X POST \
|
create_ips_resp=$(curl -s -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "X-Edge-Access-Token: $TOKEN" \
|
-H "X-Edge-Access-Token: $TOKEN" \
|
||||||
|
Loading…
Reference in New Issue
Block a user