0.35+
tuna mesh login
Log this device into a mesh team.
Adds this device to your mesh team. In a terminal it asks how to log in: through the browser on this machine, by a link and code confirmed from another device, or with an enroll token issued in the dashboard. Servers and automation pass the token with --enroll-token or TUNA_MESH_ENROLL_TOKEN.
Usage
tuna mesh login [flags]
Examples
tuna mesh login
tuna mesh login --no-browser
TUNA_MESH_ENROLL_TOKEN=<token> tuna mesh login
| Flag | Description |
|---|---|
--enroll-token string | Enroll token from the dashboard, for servers and automation (or TUNA_MESH_ENROLL_TOKEN). |
--no-browser | Print a link and code to confirm the login from another device, for machines without a browser. |
--web | Log in through the browser on this machine without asking for the method. |
--env string | Deprecated in 0.43: the device environment tag is no longer used and will be removed. |
Global flags work too.
History
| 0.43.0 | Deprecated the --env flag: the device environment tag is no longer used and will be removed. |
| 0.41.0 | Added the --enroll-token, --no-browser and --web flags. |
| 0.35.0 | Command added. |