Skip to content

Commit

Permalink
doc/howto/migrate_from_lxc: 5.0 is the last LTS release shipping lxd.…
Browse files Browse the repository at this point in the history
…lxc-to-lxd

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Feb 28, 2024
1 parent 898d3e0 commit 1e958d4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/howto/migrate_from_lxc.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ However, this tool does not migrate any of the LXC container configuration.
If you're using the snap, the `lxc-to-lxd` is automatically installed.
It is available as `lxd.lxc-to-lxd`.

```{note}
The `lxd.lxc-to-lxd` command was last included in the 5.0 snap which should be installed to do the conversion from `lxc` to `lxd`:
sudo install lxd --channel=5.0/stable
sudo lxd.lxc-to-lxd --all
After successfully running the `lxd.lxc-to-lxd` command, you can then switch to a newer snap channel if desired, like the latest one:
sudo refresh lxd --channel=latest/stable
```

Otherwise, make sure that you have `go` ({ref}`requirements-go`) installed and get the tool with the following command:

go install github.com/canonical/lxd/lxc-to-lxd@latest
Expand Down

0 comments on commit 1e958d4

Please sign in to comment.