I want to create an LXC container on my PVE node and I need to set some low level options (like lxc.environment and lxc.hook.pre-start). It works fine if I SSH onto the node and edit the file /etc/pve/lxc/4711.conf manually .
But since I need to integrate this into an automated workflow, I would like to know if there is some way to do this via the API.
But since I need to integrate this into an automated workflow, I would like to know if there is some way to do this via the API.