diff --git a/lxc/completion.go b/lxc/completion.go index ea34fdef1247..a3239a6c63fa 100644 --- a/lxc/completion.go +++ b/lxc/completion.go @@ -273,7 +273,7 @@ func (g *cmdGlobal) cmpInstanceKeys(instanceName string) ([]string, cobra.ShellC configKey = strings.TrimSuffix(configKey, "*") // InstanceTypeAny config keys. - if configKeyField.Condition == "" { + if configKeyField.Condition == "" || configKeyField.Condition == "If supported by image" { configKeys = append(configKeys, configKey) continue }