From bf209541cb70c9b3d0ad5c0a900b8a053c03c72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Thu, 6 Jul 2023 13:15:42 +0200 Subject: [PATCH] Add flatcar experimental example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This uses ignition and prefix, to support Flatcar Container Linux It is the continuation of the original CoreOS, before Fedora CoreOS Signed-off-by: Anders F Björklund --- examples/README.md | 1 + examples/experimental/flatcar.yaml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 examples/experimental/flatcar.yaml diff --git a/examples/README.md b/examples/README.md index f65a418b97c..51686864a74 100644 --- a/examples/README.md +++ b/examples/README.md @@ -27,6 +27,7 @@ Distro: - [`ubuntu-lts`](./ubuntu-lts.yaml): Ubuntu LTS (same as `ubuntu.yaml` but pinned to an LTS version) - [`deprecated/centos-7`](./deprecated/centos-7.yaml): [deprecated] CentOS Linux 7 - [`experimental/opensuse-tumbleweed`](./experimental/opensuse-tumbleweed.yaml): [experimental] openSUSE Tumbleweed +- [`experimental/flatcar`](experimental/flatcar.yaml): [experimental] Flatcar Container Linux Container engines: - [`apptainer`](./apptainer.yaml): Apptainer diff --git a/examples/experimental/flatcar.yaml b/examples/experimental/flatcar.yaml new file mode 100644 index 00000000000..be0cb4e45ea --- /dev/null +++ b/examples/experimental/flatcar.yaml @@ -0,0 +1,21 @@ +# # This example requires Lima v0.15.1 or later. +# + +images: +- location: "https://stable.release.flatcar-linux.net/amd64-usr/3510.2.5/flatcar_production_qemu_uefi_image.img.bz2" + arch: "x86_64" + digest: "sha512:098ddf9aecb4e27d33c5ea9fb7a233720330f0711f3008e75723cce8a8ec1e27ebcfd0959d276bbde034ee5723e5c58a28a78cdd37f04ddea605c0d09a34f267" +- location: "https://stable.release.flatcar-linux.net/arm64-usr/3510.2.5/flatcar_production_qemu_uefi_image.img.bz2" + arch: "aarch64" + digest: "sha512:cc6e6cf91e4a566c1911b579eb9570baaac484b92bec9c33215354fc44f1f291957dcae33cce580a19ab9437337260babcee4aaff4ac6fa5b7c649271cacfb98" + +# The /usr/local prefix is read-only under Flatcar Container Linux. +guestInstallPrefix: /opt + +# The guest home directory can not be changed with CoreOS currently. +mounts: +- location: "/tmp/lima" + writable: true + +# There is no support for FUSE or sshfs in Flatcar Container Linux. +mountType: "9p"