Explorar o código

tag enrollment key

abhishek9686 hai 1 ano
pai
achega
058338f372
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/nm-quick.sh

+ 1 - 1
scripts/nm-quick.sh

@@ -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"