From aed32cf46651932c8e337271d423a3aad5e935de Mon Sep 17 00:00:00 2001 From: adminbruno Date: Thu, 14 Mar 2024 01:47:04 -0400 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'proxmox-lxc-ct.con?= =?UTF-8?q?f'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxmox-lxc-ct.conf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/proxmox-lxc-ct.conf b/proxmox-lxc-ct.conf index a69bc7f..6739a8b 100644 --- a/proxmox-lxc-ct.conf +++ b/proxmox-lxc-ct.conf @@ -3,4 +3,18 @@ lxc.cgroup2.devices.allow: c 226:0 rwm lxc.cgroup2.devices.allow: c 226:128 rwm lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file -lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file \ No newline at end of file +lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file + +#may be needed for docker/podman +#lxc.apparmor.profile: unconfined +#lxc.cgroup2.devices.allow: a +#lxc.cap.drop: + + +#For igpu only (groups video39 render 105 lxc / video44 render 104 proxmox) +#65535 max users / 65535 max groups uids +lxc.idmap: g 0 100000 39 +lxc.idmap: g 39 44 1 +lxc.idmap: g 40 100040 65 +lxc.idmap: g 105 104 1 +lxc.idmap: g 106 100106 65430 \ No newline at end of file