Mount an SMB share and use iGPU on an unprivileged Debian 12 LXC container in Proxmox

Pre-requisites: Create an unprivileged Debian 12 LXC container. Inside the LXC container, use the root user to create a non-root user with your name. In the case of mine I wanted to add it to the sudo and docker groups after installing Docker inside the LXC container. useradd -s /bin/bash -m -G sudo,docker ismael Change the user password to whatever you need. su ismael passwd This user’s default UID:GID will be 1000:1000. If not, create it with: ...

February 8, 2024 · 2 min · Ismael Lamberty

Proxmox | automatically restore SMB/CIFS share connections

If at some point Proxmox loses connectivity with an SMB/CIFS share, it will not restore the connection by itself until a restart of the Proxmox node is performed. With this tip, you’ll make the Proxmox node restore the connection automatically. In your node’s shell, create a bash script that looks for mount points in /mnt/pve/ and unmounts them if they become stale: nano remount.sh Put this content into the file: ...

January 10, 2024 · 1 min · Ismael Lamberty