-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Labels
EasyGood for new contributorsGood for new contributors
Description
Steps to reproduce:
# using any valid yaml config
sudo sudo distrobuilder build-lxc $distro.yaml $distro --compression=zstd
# this works but creates $distro/meta.tar.xz and $distro/rootfs.tar.zst
sudo lxc-create --name $container --template local -- --metadata $distro/meta.tar.xz --fstree $distro/rootfs.tar.zst
This does not work:
Using local temporary directory /tmp/tmp.EcnkdZdAKI
Using metadata file: devuan/meta.tar.xz
Unpacked metadata file: devuan/meta.tar.xz
Extracted network config to: /var/lib/lxc/velociraptor/config-network
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
Extracted additional config to: /var/lib/lxc/velociraptor/config-extra
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
lxc.rootfs.path = btrfs:/var/lib/lxc/velociraptor/rootfs
Using rootfs file: devuan/rootfs.tar.zst
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
lxc-create: velociraptor: ../src/lxc/lxccontainer.c: create_run_template: 1601 Failed to create container from template
lxc-create: velociraptor: ../src/lxc/tools/lxc_create.c: lxc_create_main: 318 Failed to create container velociraptor
Possibly the local template script is confused by the different compression methods.
distrobuilder version: 3.2
lxc-create version: 6.0.4
Metadata
Metadata
Assignees
Labels
EasyGood for new contributorsGood for new contributors