Skip to content

Instantly share code, notes, and snippets.

@eximoelle
eximoelle / LXCBindMount.md
Created April 19, 2023 11:35 — forked from ajmassi/LXCBindMount.md
Create a bind mount from a Proxmox host on an unprivileged lxc container

Proxmox Assign Bind Mount To Unprivileged Container

In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.

Bind Mount dataset to LXC

Add the following line to /etc/pve/lxc/<CT_ID>.conf

mp0:/mount/point/on/host,mp=/mount/point/on/lxc

Create group on host

In the default Proxmox configuration, unpriviliged container subgids will have the prefix "10" followed by the expected 4-digit gid.

@eximoelle
eximoelle / my-brew-cask-formula
Created October 6, 2022 14:33
My brew cask list
audacity
autodesk-fusion360
balenaetcher
cakebrew
creality-slicer
font-3270-nerd-font
font-agave-nerd-font
font-anonymice-nerd-font
font-arimo-nerd-font
font-aurulent-sans-mono-nerd-font
@eximoelle
eximoelle / my-brew-formula
Created October 6, 2022 14:31
My brew list
lima
midnight-commander
neovim
nmap
ranger
shinokada/abi/abi
wget
yt-dlp