diff --git a/doc/metadata.txt b/doc/metadata.txt index 8e753e76e403..477e89092449 100644 --- a/doc/metadata.txt +++ b/doc/metadata.txt @@ -1545,6 +1545,13 @@ See {ref}`devices-unix-char-hotplugging` for more information. ``` +```{config:option} ownership.inherit device-unix-hotplug-device-conf +:defaultdesc: "`false`" +:shortdesc: "Whether this device inherits ownership (gid and uid) from the host" +:type: "bool" + +``` + ```{config:option} productid device-unix-hotplug-device-conf :shortdesc: "Product ID of the Unix device" :type: "string" diff --git a/lxd/metadata/configuration.json b/lxd/metadata/configuration.json index 8b2d6ebdecd8..861cf3d095b0 100644 --- a/lxd/metadata/configuration.json +++ b/lxd/metadata/configuration.json @@ -1783,6 +1783,14 @@ "type": "integer" } }, + { + "ownership.inherit": { + "defaultdesc": "`false`", + "longdesc": "", + "shortdesc": "Whether this device inherits ownership (gid and uid) from the host", + "type": "bool" + } + }, { "productid": { "longdesc": "",