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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!