diff --git a/pkg/cli/cmds/agent.go b/pkg/cli/cmds/agent.go index 43ca944b96..6e4128641e 100644 --- a/pkg/cli/cmds/agent.go +++ b/pkg/cli/cmds/agent.go @@ -90,9 +90,10 @@ var ( Value: "/etc/rancher/" + version.Program + "/registries.yaml", } AirgapExtraRegistryFlag = cli.StringSliceFlag{ - Name: "airgap-extra-registry", - Usage: "(agent/runtime) Additional registry to tag airgap images as being sourced from", - Value: &AgentConfig.AirgapExtraRegistry, + Name: "airgap-extra-registry", + Usage: "(agent/runtime) Additional registry to tag airgap images as being sourced from", + Value: &AgentConfig.AirgapExtraRegistry, + Hidden: true, } PauseImageFlag = cli.StringFlag{ Name: "pause-image",