Hello all,
I have an issue where I am pulling a root.squashfs and root.tar.xz from images.linuxcontainers.org for use in an offline container build.
I run
wget https://images.linuxcontainers.org/images/ubuntu/jammy/amd64/cloud/20231202_07%3A42/rootfs.squashfs
wget https://images.linuxcontainers.org/images/ubuntu/jammy/amd64/cloud/20231202_07%3A42/rootfs.tar.xz
Then
lxc image import rootfs.tar.xz rootfs.squashfs
However the import fails with “Error: Metadata tarball is missing metadata.yaml”
If I run tar -tf rootfs.tar.xz | grep metadata.yaml
this xz doesn’t appear to include a metadata.yaml file, however I can see a metadata.tar.xz in the mirror directory- do I need to tar that into the rootfs.tar.xz somehow?