Permalink
Please sign in to comment.
Browse files
implement `lxd import`
The basic idea here is to maintain a file in the container's directory that indicates what configuration and snapshots it has, so that if someone just backs up the filesystem the container is on (e.g. the zfs pool), they can re-import their containers with a simple `lxd import` command. Closes #2286 Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
- Loading branch information...
Showing
with
226 additions
and 2 deletions.
- +102 −0 lxd/api_internal.go
- +11 −1 lxd/container.go
- +75 −0 lxd/container_lxc.go
- +28 −0 lxd/main.go
- +1 −1 shared/log.go
- +9 −0 test/suites/migration.sh
28
lxd/main.go
0 comments on commit
1896416