Allow modifying process arguments in config.json

I’ve noticed that some Docker containers (e.g: valkey) don’t support setup via environment variables; but instead require changing the startup parameters passed to the entrypoint.sh script. Right now I have a script that makes a backup copy of the config.json file and makes the necessary changes to the ‘process.args’ tag. I think a better way would be to have an incus command (e.g.: incus config set process.args …).

Thoughts?

Yeah, we’ll have to figure out a clean way to deal with this…

Until then you can do incus config set NAME raw.lxc=lxc.execute.cmd=/command args

You need quotes.
incus config set NAME raw.lxc=lxc.execute.cmd="/command args"