You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5f1f81
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: internal/cli/agent.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ func init() {
73
73
agentCreateCmd.Flags().String("agent-ip", "", "Agent public IP address (required, must be valid public IP)")
74
74
agentCreateCmd.Flags().String("gateway-region", "", "Gateway region (required)")
75
75
agentCreateCmd.Flags().String("description", "", "Optional description for the agent")
76
-
agentCreateCmd.Flags().String("hypervisor-driver", "", "Optional. Uses the organization hypervisor driver when omitted. Must match the organization if set.")
76
+
agentCreateCmd.Flags().String("hypervisor-driver", "", "Required until the first agent in this organization is registered. After that, omit it or pass the same driver (proxmox, virtfusion, or solusvm).")
Copy file name to clipboardExpand all lines: internal/cli/cluster.go
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ func init() {
69
69
clusterRegisterCmd.Flags().Bool("reinstall-operator", false, "Re-run hypervisor operator Helm install even if that phase already succeeded (use with --resume)")
70
70
clusterRegisterCmd.Flags().String("operator-chart", "", "Local path or OCI ref for the hypervisor operator chart (default: Harbor OCI or sibling checkout)")
71
71
clusterRegisterCmd.Flags().String("operator-chart-version", "", "Helm chart version when using OCI (default: "+config.DefaultProxmoxOperatorChartVersion+")")
72
-
clusterRegisterCmd.Flags().String("hypervisor-driver", "", "Optional. Uses the organization hypervisor driver when omitted. Must match the organization if set.")
72
+
clusterRegisterCmd.Flags().String("hypervisor-driver", "", "Required until the first agent in this organization is registered. After that, omit it or pass the same driver (proxmox, virtfusion, or solusvm).")
73
73
clusterRegisterCmd.Flags().String("proxmox-instances-file", "", "YAML file with proxmox.instances list (or PROXMOX_INSTANCES_FILE)")
74
74
clusterRegisterCmd.Flags().String("virtfusion-instances-file", "", "YAML file with virtfusion.instances list (or VIRTFUSION_INSTANCES_FILE)")
75
75
clusterRegisterCmd.Flags().String("solusvm-instances-file", "", "YAML file with solusvm.instances list (or SOLUSVM_INSTANCES_FILE)")
return"", UsageErrorf("this organization has no hypervisor driver")
206
+
return"", UsageErrorf("this organization has no hypervisor driver yet. Pass --hypervisor-driver (proxmox, virtfusion, or solusvm) when registering the first agent")
0 commit comments