]> git.proxmox.com Git - pve-container.git/commit
Add device passthrough
authorFilip Schauer <f.schauer@proxmox.com>
Fri, 17 Nov 2023 10:28:16 +0000 (11:28 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 20 Nov 2023 12:58:51 +0000 (13:58 +0100)
commitce1976b85361009af52d0e01af81bdd1beb83a50
tree5385af97e67ef47bdaeead577760827cfedbb4fa
parentfd67677f0da52930c810cda668c372b813898fa9
Add device passthrough

Add a dev[n] argument to the container config to pass devices through to
a container. A device can be passed by its path. Additionally the access
mode, uid and gid can be specified through their respective properties.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
src/PVE/LXC.pm
src/PVE/LXC/Config.pm
src/PVE/LXC/Tools.pm
src/lxc-pve-autodev-hook
src/lxc-pve-prestart-hook