Import a qcow2 image to LXD

I recently learned how to make my own LXD VM image based on Home Assistant’s QCOW2 VM images. This blog post is a short write-up how to do that! This is of course useful for other qcow2 images as well. Download a image I downloaded the Home Assistant OS image in the qcow2 format, and uncompressed it. The image is intended for KVM, and LXD runs VM:s with Qemu/KVM so it’s a good fit for LXD VM:s.