Skip to content

Commit

Permalink
lxd/metadata: update metadata configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed Jan 5, 2024
1 parent fe3457d commit 9ee6693
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/config_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,12 @@ Specify either a cron expression (`<minute> <hour> <dom> <month> <dow>`), a comm

<!-- config group instance-snapshots end -->
<!-- config group instance-volatile start -->
```{config:option} volatile.<name>.<target_path>.dir_created_by_lxd instance-volatile
:shortdesc: "if the disk device mounted from a host directory, created a new directory within the instance"
:type: "bool"

```

```{config:option} volatile.<name>.apply_quota instance-volatile
:shortdesc: "Disk quota"
:type: "string"
Expand Down
7 changes: 7 additions & 0 deletions lxd/metadata/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,13 @@
},
"volatile": {
"keys": [
{
"volatile.\u003cname\u003e.\u003ctarget_path\u003e.dir_created_by_lxd": {
"longdesc": "",
"shortdesc": "if the disk device mounted from a host directory, created a new directory within the instance",
"type": "bool"
}
},
{
"volatile.\u003cname\u003e.apply_quota": {
"longdesc": "The disk quota is applied the next time the instance starts.",
Expand Down

0 comments on commit 9ee6693

Please sign in to comment.