mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 08:34:47 +08:00
10 lines
298 B
Bash
Executable file
10 lines
298 B
Bash
Executable file
#!/bin/bash
|
|
sudo ip link del wc-skynet
|
|
|
|
curl -X DELETE -H "Authorization: Bearer secretkey" -H 'Content-Type: application/json' localhost:8081/api/skynet/nodes/8c:89:a5:03:f0:d7 | jq
|
|
|
|
sudo cp /root/.netconfig.bkup /root/.netconfig
|
|
sudo rm /root/.nettoken
|
|
sudo go run ./main.go remove
|
|
|
|
sudo wg show
|