Skip to content

Commit

Permalink
Fix cloud-init instance key typos
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Holman <[email protected]>
  • Loading branch information
holmanb committed Sep 27, 2024
1 parent 85392b1 commit d0f5c7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2505,7 +2505,7 @@ The template with the given name is triggered upon next startup.
The hash of the image that the instance was created from (empty if the instance was not created from an image).
```

```{config:option} volatile.cloud_init.instance-id instance-volatile
```{config:option} volatile.cloud-init.instance-id instance-volatile
:shortdesc: "`instance-id` (UUID) exposed to `cloud-init`"
:type: "string"

Expand Down
2 changes: 1 addition & 1 deletion lxd/instance/instancetype/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ var InstanceConfigKeysAny = map[string]func(value string) error{
// shortdesc: Hash of the base image
"volatile.base_image": validate.IsAny,

// lxdmeta:generate(entities=instance; group=volatile; key=volatile.cloud_init.instance-id)
// lxdmeta:generate(entities=instance; group=volatile; key=volatile.cloud-init.instance-id)
//
// ---
// type: string
Expand Down
2 changes: 1 addition & 1 deletion lxd/metadata/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2818,7 +2818,7 @@
}
},
{
"volatile.cloud_init.instance-id": {
"volatile.cloud-init.instance-id": {
"longdesc": "",
"shortdesc": "`instance-id` (UUID) exposed to `cloud-init`",
"type": "string"
Expand Down

0 comments on commit d0f5c7b

Please sign in to comment.