I have created yaml file for image creation using distrobuilder. after distrobuilder build-lxd name command output two files which are rootfs.squashfs and lxd.tar.xz. but when i import lxc image it gives following error.
root@dev:/distrobu# lxc image import rootfs.squashfs lxd.tar.xz --alias new-image
Error: Metadata tarball is missing metadata.yaml
I have also created dummy metadata.yaml file in the same directory but still its not working.
dummy metadata.yaml is as follows.
architecture: "x86_64"
properties:
architecture: "x86_64"
description: "Debian Buster (20200708)"
os: "debian"
release: "buster"