For example when mapping a single group, for example guest's 1000 to the host's 1001.
It produces this for the .conf:
# Generated with Proxmox LXC idmap helper created by Stanisław Nieradko
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 1001
lxc.idmap: g 1001 1000 1
lxc.idmap: g 1002 101002 64534
The correct .conf is actually:
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 1000
lxc.idmap: g 1000 1001 1
lxc.idmap: g 1001 101002 64535
The subgid and subuid are correct however.
I have tested this.
For example when mapping a single group, for example guest's 1000 to the host's 1001. It produces this for the .conf:
The correct .conf is actually:
The subgid and subuid are correct however. I have tested this.