[lxc-devel] [lxd/master] Documentation fixes
stgraber on Github
lxc-bot at linuxcontainers.org
Thu Oct 22 15:43:14 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201022/f3e80f5c/attachment.bin>
-------------- next part --------------
From 914c3d86d7a5266ac726f3ddd2ea8860af449572 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 22 Oct 2020 11:40:53 -0400
Subject: [PATCH 1/2] doc/instances: usb and gpu are available in VMs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
doc/instances.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/instances.md b/doc/instances.md
index 10e4630a33..9241332089 100644
--- a/doc/instances.md
+++ b/doc/instances.md
@@ -234,8 +234,8 @@ ID (database) | Name | Condition | Descripti
2 | [disk](#type-disk) | - | Mountpoint inside the instance
3 | [unix-char](#type-unix-char) | container | Unix character device
4 | [unix-block](#type-unix-block) | container | Unix block device
-5 | [usb](#type-usb) | container | USB device
-6 | [gpu](#type-gpu) | container | GPU device
+5 | [usb](#type-usb) | - | USB device
+6 | [gpu](#type-gpu) | - | GPU device
7 | [infiniband](#type-infiniband) | container | Infiniband device
8 | [proxy](#type-proxy) | container | Proxy device
9 | [unix-hotplug](#type-unix-hotplug) | container | Unix hotplug device
From c415a8f533390a595369687fbedf4b27a555cc4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 22 Oct 2020 11:42:29 -0400
Subject: [PATCH 2/2] doc/instances: Add missing header in usb device
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
doc/instances.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/instances.md b/doc/instances.md
index 9241332089..399eb6b1c6 100644
--- a/doc/instances.md
+++ b/doc/instances.md
@@ -727,6 +727,9 @@ mode | int | 0660 | no | Mode of the device in
required | boolean | true | no | Whether or not this device is required to start the instance
### Type: usb
+
+Supported instance types: container, VM
+
USB device entries simply make the requested USB device appear in the
instance.
More information about the lxc-devel
mailing list