Skip to content

Commit

Permalink
lxc/completion: Add completions for cloud-init.* keys
Browse files Browse the repository at this point in the history
Fixes #14689.

Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Dec 19, 2024
1 parent b67bf1a commit 138141b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,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
}
Expand Down

0 comments on commit 138141b

Please sign in to comment.