mirror of
https://github.com/gravitl/netmaker.git
synced 2026-01-09 12:24:18 +08:00
tag enrollment key
This commit is contained in:
parent
c4b36ac791
commit
058338f372
1 changed files with 1 additions and 1 deletions
|
|
@ -775,7 +775,7 @@ setup_mesh() {
|
|||
|
||||
echo "Obtaining a netmaker enrollment key..."
|
||||
|
||||
local tokenJson=$(nmctl enrollment_key create --unlimited --networks netmaker)
|
||||
local tokenJson=$(nmctl enrollment_key create --tags netmaker --unlimited --networks netmaker)
|
||||
TOKEN=$(jq -r '.token' <<<${tokenJson})
|
||||
if test -z "$TOKEN"; then
|
||||
echo "Error creating an enrollment key"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue