melato / lxdops

Go program to launch and configure LXD containers and attached disk devices
Apache License 2.0
13 stars 3 forks source link

Port to Incus #11

Open melato opened 11 months ago

melato commented 11 months ago

Make a version of lxdops that works with Incus instead of LXD.

melato commented 11 months ago

The LXD and Incus APIs are almost identical, since they are forks of each other. But they are not meant to be compatible. They are expected to diverge and they already have some incompatibilities.

I am looking into creating an interface layer between lxdops and LXD, and create implementations for LXD and for Incus. Might also rename lxdops to something else.

melato commented 11 months ago

I have done this as follows:

I'll think about it a bit more and then publish these repositories.

This is also a good opportunity for an overall refactoring and cleanup of the commands and perhaps also of the config file format.