I've been editing
That seems to work as I expect, requires restarting the container to apply, etc.
Now I'm automating more of my config, and I was thinking of using a template to generate
Should caveats editing those files be documented too? I've seen the files be reformatted- this hints to me that when you read a file, Proxmox generates on the fly; when you write a file, it's loaded into some internal thing...
Another interesting thing would be to document if changes there require any further action to apply (I assume container setting changes work like in the UI- some apply immediately, some require a restart. But what about, for example, authentication changes?).
/etc/pve/lxc/vmid.conf
files manually so far, because as far as I know, you cannot set lxc.idmap
entries automatedly (is that right?).That seems to work as I expect, requires restarting the container to apply, etc.
Now I'm automating more of my config, and I was thinking of using a template to generate
/etc/pve/domains.cfg
. I assume this is safe to do, although... it's really not documented anywhere? (the structure of the directory is well-documented, but it doesn't say explicitly... "you can edit files there instead of using the API or pve* commands").Should caveats editing those files be documented too? I've seen the files be reformatted- this hints to me that when you read a file, Proxmox generates on the fly; when you write a file, it's loaded into some internal thing...
Another interesting thing would be to document if changes there require any further action to apply (I assume container setting changes work like in the UI- some apply immediately, some require a restart. But what about, for example, authentication changes?).