nodus create enrollmenttoken
View Markdownnodus create enrollmenttoken
Section titled “nodus create enrollmenttoken”Create a token that enrolls one host into a Pool (installer printed once)
nodus create enrollmenttoken [NAME] [flags]Examples
Section titled “Examples” nodus create enrollmenttoken --pool lab-a100 --ttl 2hOptions
Section titled “Options” --dry-run string[="server"] server returns the estimate without creating; client prints the manifest (default "none") -h, --help help for enrollmenttoken --label stringArray KEY=VALUE label copied onto the Node when it enrolls (repeatable) -o, --output string Output format: name, json, yaml, or estimate (with --dry-run=server) --pool string Pool the host joins --ttl string How long the token works, such as 2h (at most 24h; default 24h)Options inherited from parent commands
Section titled “Options inherited from parent commands” --context string Context from the config file to use --org string Organization (selects the context for that org) -p, --project string Project to work in -v, --verbose Log each API request (never credentials)SEE ALSO
Section titled “SEE ALSO”- nodus create - Create resources from manifests or with a typed generator
Tested examples
Section titled “Tested examples”These invocations run in CI against the CLI’s fake API.
nodus create enrollmenttoken --pool lab --ttl 2h --label rack=a