NodeRingsDocs

cluster register flags

Complete flag reference for nr cluster register

nr cluster register [flags]

Identity and location

FlagDefaultDescription
--nameAgent/cluster name (required unless --agent-id)
--agent-idExisting agent UUID; skips CreateAgent
--agent-ipPublic (or reachable) IPv4 for the agent
--gateway-regionGateway region (AMS01)
--org-idProvider organization UUID (required; or NR_ORGANIZATION_ID). Sent as X-Organization-ID. Does not authenticate.
--descriptionOptional agent description

--org-id must be the provider organization you are registering into. Copy it from Create agent in the console (the command already includes it). The CLI does not list organizations to pick a tenant. Authenticate with a service-account token (NR_API_TOKEN); a token from another organization is rejected.

Control flow

FlagDefaultDescription
--resumefalseContinue from last checkpoint
--forcefalseForce reinstall / cleanup; auto-reuses existing name
--yes / -yfalseNon-interactive confirmations (reuse, etc.)
--dry-runfalsePrint planned actions without executing
--skip-prechecksfalseSkip host prechecks (not recommended)
--offlinefalseSkip fetching platform version pins from the API

Offloading

FlagDefaultDescription
--vnc-gateway-namespacevnc-gatewayProvider namespace to offload for VNC
--operator-namespaceOptional extra provider namespace to offload
--offload-namespacesAdditional namespaces to offload
--disable-offloadingfalseSkip provider-side namespace offloading
--namespace-mapping-strategySelectedNameLiqo namespace mapping strategy
--remote-cluster-idRemote Liqo cluster ID (auto-detected if empty)

Operator

FlagDefaultDescription
--skip-operator-installfalseSkip hypervisor operator / VNC gateway Helm install
--reinstall-operatorfalseClear operator checkpoint and re-run Helm (with --resume)
--operator-chartLocal path or OCI ref for the chart
--operator-chart-versionChart version when using OCI
--hypervisor-driverorganizationOptional. Uses the organization driver when omitted. Must match if set (proxmox, virtfusion, or solusvm).
--proxmox-instances-fileYAML file of Proxmox instances (or PROXMOX_INSTANCES_FILE)
--virtfusion-instances-fileYAML file of VirtFusion instances (or VIRTFUSION_INSTANCES_FILE)
--solusvm-instances-fileYAML file of SolusVM 2 instances (or SOLUSVM_INSTANCES_FILE)

Output

FlagDefaultDescription
--outputtextFormat for the post-register verify report: text or json

Global flags such as --api-url and --config-dir also apply.

See Environment variables for NR_API_TOKEN, NR_ORGANIZATION_ID, PROXMOX_*, VIRTFUSION_*, SOLUSVM_*, MIMIR_BEARER_TOKEN, and related settings.