Skip to content

Instantly share code, notes, and snippets.

View JSH32's full-sized avatar
๐Ÿ“Ž
sudo rm -rf /

Josh Rudnik JSH32

๐Ÿ“Ž
sudo rm -rf /
View GitHub Profile
@JSH32
JSH32 / rust-semantic-colors.json
Created February 12, 2022 03:14
Rust semantic coloring
{
"[rust]": {
"editor.wordBasedSuggestions": false,
},
"editor.semanticTokenColorCustomizations": {
"[Default Dark+]": {
"enabled": true,
"rules": {
"method.static:rust": {
"foreground": "#f0c506"
@ajmassi
ajmassi / LXCBindMount.md
Last active May 12, 2025 16:03
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.