I have a drive that I mount in proxmox
/etc/fstab
/dev/disk/by-partuuid/blah-blah /mnt/pool0 ext4 defaults 0 2
Then I also create a mount point in LXC
mp0: /mnt/pool0,mp=pool0
I have a uid that's different under debian vs the LXC
Lets say I have a user joe with uid=1000 gid=1000 under debian
joe under LXC has uid=998 and gid =998
How do I map the Debian UID and GID to the LXC
I tried to follow the wiki
https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
I came up with
/etc/pve/lxc/100.conf
lxc.idmap = u 1000 998 1
lxc.idmap = g 1000 998 1
/etc/subuid
root:1000:1
then /etc/subgid:
root:1000:1
What did I do wrong here?
/etc/fstab
/dev/disk/by-partuuid/blah-blah /mnt/pool0 ext4 defaults 0 2
Then I also create a mount point in LXC
mp0: /mnt/pool0,mp=pool0
I have a uid that's different under debian vs the LXC
Lets say I have a user joe with uid=1000 gid=1000 under debian
joe under LXC has uid=998 and gid =998
How do I map the Debian UID and GID to the LXC
I tried to follow the wiki
https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
I came up with
/etc/pve/lxc/100.conf
lxc.idmap = u 1000 998 1
lxc.idmap = g 1000 998 1
/etc/subuid
root:1000:1
then /etc/subgid:
root:1000:1
What did I do wrong here?