Feature Request: project creation through lxd init

I recently started trying to the lxd “projects” sub-command after discovering its ability to isolate features like profiles and networks to a specific project. I was surprised then to learn that the “lxd init --dump” command displays nothing about projects. Additionally, the command “lxd init --preseed” doesn’t allow for the creation of projects or the assignment of profiles and networks to a specific project. Have I overlooked an obvious configuration to do this? If not, this would be a valuable addition to the “lxd init” sub-command.

Implementing the code to make dump work was trivial, making the code that allows for applying it will be a bit harder.

1 Like