Why does Proxmox "undo" my LXC container configuration changes?

redviking

New Member
Dec 15, 2023
2
1
3
After I shut down unprivileged LXC container having ID 102, why does Proxmox 8.1 "undo" the manual changes that I make to its configuration? While the container was stopped, I added several lxc.idmap lines to its configuration file /etc/pve/lxc/102.conf. After restarting the container, these lines were still in the configuration file, but after I stopped the container, Proxmox had restored the file to its original state before I made the changes.
 
Last edited:
Nevermind. I think I may have made a syntax error in the container configuration file. After correcting the syntax, Proxmox retains the lxc.idmap entries and my user and group mappings are working.
 
  • Like
Reactions: leesteken