siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.9k stars 555 forks source link

generating images with cache #9616

Open smira opened 3 weeks ago

smira commented 3 weeks ago

Update imager to include image cache generated with #9611 to be included into the image (supported output types - ISO, disk image), as a separate partition.

The partition should be marked so that it is discoverable by Talos.

smira commented 3 days ago

If imager is given the image cache image (OCI) tarball, it does the following:

ISO (both SecureBoot and GRUB)

Create a folder in the ISO filesystem root named imagecache/ and put the Image Cache there.

Disk Image

Create a partition with a label IMAGECACHE and put the image cache contents there.