Rename lxd-migrate to lxd-convert
Please confirm
- [x] I have searched existing issues to check if an issue already exists for my feature request.
Is your feature request related to a problem? Please describe.
It has been suggested that as part of the push to clarify/restrict the term "migrate" to refer to moving instances/volumes between LXD servers that the tool lxd-migrate would be better named lxd-convert.
Describe the solution you'd like
The tool currently has a --conversion flag which would somewhat stammer with the proposed application name so it has also been suggested this flag be changed to something like --mode or --options, or potentially separating into separate flag(s)?
Describe alternatives you've considered
No response
Additional context
No response
Related documentation to update along with this change: https://documentation.ubuntu.com/lxd/latest/howto/import_machines_to_instances/
Also will need to update the help/man page to remove migrate wording.
I like the change, but would suggest lxd-import. In all cases the instance is imported into LXD. However, conversion happens only in certain scenarios. For example, there is no conversion when importing raw VM image or a container.
No, "import" is not to be used to avoid confusion with lxc import (otherwise we are just replacing one overloaded term with another).
For example, there is no conversion when importing raw VM image or a container.
The broader idea here is that you are "converting" your external filesystem/block volume into a LXD instance.
There may be no need for "conversion options" and just accept the defaults, and its this we need to think about the naming/format of those flags.