From 8ef0951184dcfaba82cbb98c94a6442b8ad74b82 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 05:35:58 +0900 Subject: [PATCH 01/10] nerdctl: update to v1.6.1 Signed-off-by: Akihiro Suda --- pkg/limayaml/defaults.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/limayaml/defaults.go b/pkg/limayaml/defaults.go index 0b4958c7fd7..8808e662416 100644 --- a/pkg/limayaml/defaults.go +++ b/pkg/limayaml/defaults.go @@ -38,7 +38,7 @@ const ( ) func defaultContainerdArchives() []File { - const nerdctlVersion = "1.6.0" + const nerdctlVersion = "1.6.1" location := func(goos string, goarch string) string { return "https://github.com/containerd/nerdctl/releases/download/v" + nerdctlVersion + "/nerdctl-full-" + nerdctlVersion + "-" + goos + "-" + goarch + ".tar.gz" } @@ -46,12 +46,12 @@ func defaultContainerdArchives() []File { { Location: location("linux", "amd64"), Arch: X8664, - Digest: "sha256:2c5c43a8b77ed62090241027361baa62d8fb70a759bc9e7a82c637135598701f", + Digest: "sha256:7fef0990bb5badfd0339c2f44a83e037cd8403b8b2dd1c8526defb929c6184fe", }, { Location: location("linux", "arm64"), Arch: AARCH64, - Digest: "sha256:1f5c2db10b4340197dfa63cfee749ad7d0b60d774433d84181815c899c359c80", + Digest: "sha256:71e8afa10cd04b3dfa3ab25ec607c23188a6b8cd09ca4828a665b4729c23a0ab", }, // No arm-v7 // No riscv64 From ba17b2942bfd91a56f7652888fc11eb044a866c6 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 05:41:44 +0900 Subject: [PATCH 02/10] templates: update Ubuntu to 23.10 Signed-off-by: Akihiro Suda --- examples/buildkit.yaml | 12 ++++++------ examples/default.yaml | 14 +++++++------- examples/experimental/9p.yaml | 12 ++++++------ examples/experimental/armv7l.yaml | 6 +++--- examples/experimental/riscv64.yaml | 6 +++--- examples/experimental/virtiofs-linux.yaml | 12 ++++++------ examples/experimental/vnc.yaml | 12 ++++++------ examples/ubuntu.yaml | 12 ++++++------ examples/vmnet.yaml | 12 ++++++------ 9 files changed, 49 insertions(+), 49 deletions(-) diff --git a/examples/buildkit.yaml b/examples/buildkit.yaml index e16474b4a5c..41c9210489a 100644 --- a/examples/buildkit.yaml +++ b/examples/buildkit.yaml @@ -12,17 +12,17 @@ message: | ------- images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" containerd: diff --git a/examples/default.yaml b/examples/default.yaml index d89df98a55f..83ad7e02afe 100644 --- a/examples/default.yaml +++ b/examples/default.yaml @@ -21,20 +21,20 @@ arch: null # OpenStack-compatible disk image. # 🟢 Builtin default: null (must be specified) -# 🔵 This file: Ubuntu 23.04 Lunar Lobster images +# 🔵 This file: Ubuntu images images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" # CPUs diff --git a/examples/experimental/9p.yaml b/examples/experimental/9p.yaml index 20fd012a48c..fe71976844f 100644 --- a/examples/experimental/9p.yaml +++ b/examples/experimental/9p.yaml @@ -3,17 +3,17 @@ # This template is planned to be merged to default.yaml in Lima v1.0 (ETA: 2022 Q2). images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" mounts: diff --git a/examples/experimental/armv7l.yaml b/examples/experimental/armv7l.yaml index 34d0ec148cc..58339b9e3c9 100644 --- a/examples/experimental/armv7l.yaml +++ b/examples/experimental/armv7l.yaml @@ -3,12 +3,12 @@ arch: "armv7l" images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-armhf.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-armhf.img" arch: "armv7l" - digest: "sha256:9e554bd089c4aaf2196860d633947d202d382883dba602e7904d216ee3cce71d" + digest: "sha256:58bfb10e547a766ee4035b5a69f2f943ffb3035c85dad4b2b6ffcc7e4958e493" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-armhf.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-armhf.img" arch: "armv7l" mounts: diff --git a/examples/experimental/riscv64.yaml b/examples/experimental/riscv64.yaml index 10775b0953e..e7afb3599f8 100644 --- a/examples/experimental/riscv64.yaml +++ b/examples/experimental/riscv64.yaml @@ -2,16 +2,16 @@ arch: "riscv64" images: -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-riscv64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-riscv64.img" arch: "riscv64" - digest: "sha256:80133bccf0dfd3bc06d63acbef7a78de38c29d9eef5e903f683173cd206b4458" + digest: "sha256:73e7e8d673e3db5bb629e81286db20438343ff4e7aaf4d90844299b4537b59c8" kernel: # Extracted from http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-qemu_2023.01+dfsg-2_all.deb (GPL-2.0) location: "https://github.com/lima-vm/u-boot-qemu-mirror/releases/download/2023.01%2Bdfsg-2/qemu-riscv64_smode_uboot.elf" digest: "sha256:d688d1afd7fd8266a964437438e7d8744c8c27c50124ac1b05e2d83f312a6ca6" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-riscv64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-riscv64.img" arch: "riscv64" kernel: # Extracted from http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-qemu_2023.04+dfsg-1_all.deb (GPL-2.0) diff --git a/examples/experimental/virtiofs-linux.yaml b/examples/experimental/virtiofs-linux.yaml index 60116bcf514..1c3b281fc47 100644 --- a/examples/experimental/virtiofs-linux.yaml +++ b/examples/experimental/virtiofs-linux.yaml @@ -5,17 +5,17 @@ # for all operations. images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" mounts: diff --git a/examples/experimental/vnc.yaml b/examples/experimental/vnc.yaml index d07b2eb0f0b..de090f22558 100644 --- a/examples/experimental/vnc.yaml +++ b/examples/experimental/vnc.yaml @@ -2,17 +2,17 @@ # This template requires Lima v0.15.0 or later. images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" mounts: diff --git a/examples/ubuntu.yaml b/examples/ubuntu.yaml index 7d493ffc4ad..4e54f45418a 100644 --- a/examples/ubuntu.yaml +++ b/examples/ubuntu.yaml @@ -1,17 +1,17 @@ # This template requires Lima v0.7.0 or later. images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" mounts: diff --git a/examples/vmnet.yaml b/examples/vmnet.yaml index 3bc21d34b84..e2d2b93b231 100644 --- a/examples/vmnet.yaml +++ b/examples/vmnet.yaml @@ -9,17 +9,17 @@ # This template requires Lima v0.7.0 or later. # Older versions of Lima were using a different syntax for supporting vmnet.framework. images: -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:1e35473cea5e1b827b91ad6ebb43b605a00d506c11f66c75076c424ae5372440" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230926/ubuntu-23.04-server-cloudimg-arm64.img" + digest: "sha256:f6529be56da3429a56e4f5ef202bf4958201bc63f8541e478caa6e8eb712e635" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release-20231011/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:46d4f3874831fc28e0edcf24b86b6b8017e0492fa848d951cfa3c7b520b2d2fa" + digest: "sha256:78d35a2f551d281912ee7e5202660d94d713aa1b5de86a17e261328cc2f093d4" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img" arch: "x86_64" -- location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-arm64.img" +- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-arm64.img" arch: "aarch64" mounts: From d7da1df4cf380e705b91b11ebb5574f88a735e91 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 05:44:03 +0900 Subject: [PATCH 03/10] templates: update Ubuntu 22.04 to release-20231010 Signed-off-by: Akihiro Suda --- examples/apptainer-rootful.yaml | 8 ++++---- examples/apptainer.yaml | 8 ++++---- examples/docker-rootful.yaml | 8 ++++---- examples/docker.yaml | 8 ++++---- examples/experimental/rke2.yaml | 8 ++++---- examples/faasd.yaml | 8 ++++---- examples/k3s.yaml | 8 ++++---- examples/k8s.yaml | 8 ++++---- examples/ubuntu-lts.yaml | 8 ++++---- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/examples/apptainer-rootful.yaml b/examples/apptainer-rootful.yaml index 437f8c71f02..26bec5a729b 100644 --- a/examples/apptainer-rootful.yaml +++ b/examples/apptainer-rootful.yaml @@ -4,12 +4,12 @@ images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/apptainer.yaml b/examples/apptainer.yaml index c74c38bf53f..c276aa872b4 100644 --- a/examples/apptainer.yaml +++ b/examples/apptainer.yaml @@ -4,12 +4,12 @@ images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/docker-rootful.yaml b/examples/docker-rootful.yaml index bbcbd58dbbf..d70c7077c94 100644 --- a/examples/docker-rootful.yaml +++ b/examples/docker-rootful.yaml @@ -9,12 +9,12 @@ # This template requires Lima v0.8.0 or later images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/docker.yaml b/examples/docker.yaml index 0ddc4e41c4d..4c608930b75 100644 --- a/examples/docker.yaml +++ b/examples/docker.yaml @@ -9,12 +9,12 @@ # This template requires Lima v0.8.0 or later images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/experimental/rke2.yaml b/examples/experimental/rke2.yaml index 41dff9311aa..2a32504175d 100644 --- a/examples/experimental/rke2.yaml +++ b/examples/experimental/rke2.yaml @@ -17,12 +17,12 @@ images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/faasd.yaml b/examples/faasd.yaml index 4665c9dc7db..f9fa6c03603 100644 --- a/examples/faasd.yaml +++ b/examples/faasd.yaml @@ -27,12 +27,12 @@ message: | # Image is set to jammy (22.04 LTS) for long-term stability images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/k3s.yaml b/examples/k3s.yaml index 0e367f56c19..ad2f27c51c9 100644 --- a/examples/k3s.yaml +++ b/examples/k3s.yaml @@ -14,12 +14,12 @@ images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/k8s.yaml b/examples/k8s.yaml index 7fa6c6ca2b3..2e8c1e52f1c 100644 --- a/examples/k8s.yaml +++ b/examples/k8s.yaml @@ -13,12 +13,12 @@ # This template requires Lima v0.7.0 or later. images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" diff --git a/examples/ubuntu-lts.yaml b/examples/ubuntu-lts.yaml index a9c81c80d8b..a7dcb596915 100644 --- a/examples/ubuntu-lts.yaml +++ b/examples/ubuntu-lts.yaml @@ -1,12 +1,12 @@ # This template requires Lima v0.7.0 or later. images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-amd64.img" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-amd64.img" arch: "x86_64" - digest: "sha256:2461b36d86ac524e755c56e25cdc1537c92aec8bac6d3e1795fa92b105beba2f" -- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20230927/ubuntu-22.04-server-cloudimg-arm64.img" + digest: "sha256:5bed3f233c2422187e86089deea51bb8469dc2a26e96814ca41ff8f14dc80308" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" arch: "aarch64" - digest: "sha256:0b565888914cd2ccbf3f1d857435a1c25bb945c152c1f45e39327a2a1ff3eb64" + digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" From 142c14385497717c53a8d6062b9fc9f5408019b6 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 05:51:48 +0900 Subject: [PATCH 04/10] templates: update Arch Linux to 20231001.182377 Signed-off-by: Akihiro Suda --- examples/archlinux.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/archlinux.yaml b/examples/archlinux.yaml index 850737f4559..8e678c8b02c 100644 --- a/examples/archlinux.yaml +++ b/examples/archlinux.yaml @@ -1,9 +1,9 @@ # This template requires Lima v0.7.0 or later images: # Try to use yyyyMMdd.REV image if available. Note that yyyyMMdd.REV will be removed after several months. -- location: "https://geo.mirror.pkgbuild.com/images/v20230915.178838/Arch-Linux-x86_64-cloudimg-20230915.178838.qcow2" +- location: "https://geo.mirror.pkgbuild.com/images/v20231001.182377/Arch-Linux-x86_64-cloudimg-20231001.182377.qcow2" arch: "x86_64" - digest: "sha256:7f82b21c785ee63d0da9adfedad72400870394c6940021750d32c663d286fddd" + digest: "sha256:505ae1a52fed0cc4bdf75a272786e3581a5481cfe26009840605699e697b6b26" - location: "https://github.com/mcginty/arch-boxes-arm/releases/download/v20220323/Arch-Linux-aarch64-cloudimg-20220323.0.qcow2" arch: "aarch64" digest: "sha512:27524910bf41cb9b3223c8749c6e67fd2f2fdb8b70d40648708e64d6b03c0b4a01b3c5e72d51fefd3e0c3f58487dbb400a79ca378cde2da341a3a19873612be8" From e48419d1f287cbf9f6809768cffe3f1e5abdd2c0 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 05:55:59 +0900 Subject: [PATCH 05/10] templates: update CentOS Stream 8 to 20231009.1 Signed-off-by: Akihiro Suda --- examples/centos-stream-8.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/centos-stream-8.yaml b/examples/centos-stream-8.yaml index 0cb7e80ed3e..9e5e670f038 100644 --- a/examples/centos-stream-8.yaml +++ b/examples/centos-stream-8.yaml @@ -5,12 +5,12 @@ images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20230925.0.x86_64.qcow2" +- location: "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20231009.1.x86_64.qcow2" arch: "x86_64" - digest: "sha256:a0520f4c3f73fbf9165c6662bf4116732214f3f52b556d421c5360422f221dd2" -- location: "https://cloud.centos.org/centos/8-stream/aarch64/images/CentOS-Stream-GenericCloud-8-20230925.0.aarch64.qcow2" + digest: "sha256:5d861ac41016ddbd91aca29269778d916c3a006e2d7f516658326a4842156ea1" +- location: "https://cloud.centos.org/centos/8-stream/aarch64/images/CentOS-Stream-GenericCloud-8-20231009.1.aarch64.qcow2" arch: "aarch64" - digest: "sha256:fc0c1da2db3667afb5483701cf5d05587be717c60532f18dfe51a451b74580d9" + digest: "sha256:3201e5adb5560376095826cdfc069368082820183cfad85455f21dff29ae93df" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-latest.x86_64.qcow2" From 6a9995e10bdc8819660b81b18ebc4f4e20baf8c0 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 05:57:25 +0900 Subject: [PATCH 06/10] templates: update CentOS Stream 9 to 20231009.1 Signed-off-by: Akihiro Suda --- examples/centos-stream-9.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/centos-stream-9.yaml b/examples/centos-stream-9.yaml index 08109f29ff9..5a279014fb4 100644 --- a/examples/centos-stream-9.yaml +++ b/examples/centos-stream-9.yaml @@ -2,12 +2,12 @@ images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20230925.0.x86_64.qcow2" +- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20231009.1.x86_64.qcow2" arch: "x86_64" - digest: "sha256:6194c366026643aabbc84355c9e2ae2265b38edc0bf0b59aaee475a56bd0813d" -- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-20230925.0.aarch64.qcow2" + digest: "sha256:b0faa6b4651cf4783c629e125a448fae71813f1fcb14fbd6423225becaeb5e3d" +- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-20231009.1.aarch64.qcow2" arch: "aarch64" - digest: "sha256:a98139043109fba27da26508ea5a8939ed08659dafc7ed64b6d4d6b964b5f58b" + digest: "sha256:174d38822413dd2d781ac4a1a4827eb714029dcc2ac5c94f6ac5eba13ffa4d06" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2" From 0d2ecf1b4318fdd6e9d9c7c6a126111178a5f40a Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:02:05 +0900 Subject: [PATCH 07/10] templates: update Debian 11 to 20231004-1523 Signed-off-by: Akihiro Suda --- examples/debian-11.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/debian-11.yaml b/examples/debian-11.yaml index cc8d2990222..8dbdebe5c6d 100644 --- a/examples/debian-11.yaml +++ b/examples/debian-11.yaml @@ -1,12 +1,12 @@ # This template requires Lima v0.7.0 or later images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud.debian.org/images/cloud/bullseye/20230912-1501/debian-11-genericcloud-amd64-20230912-1501.qcow2" +- location: "https://cloud.debian.org/images/cloud/bullseye/20231004-1523/debian-11-genericcloud-amd64-20231004-1523.qcow2" arch: "x86_64" - digest: "sha512:7c02b0407250f99881987499f496834d925352ce7644476a7858fe9d25a0def20062087c267d54728699e803ec81dee09b8b86af37e18388623cf97e40c423a9" -- location: "https://cloud.debian.org/images/cloud/bullseye/20230912-1501/debian-11-genericcloud-arm64-20230912-1501.qcow2" + digest: "sha512:83cb90b44232d6899369fa0980a81baf97a2ac5b188ffe373a74f4aa9ca7a5d13b80f6cc221fc31c3e556efb4f0aa254ea265c2d452d23e2e7f05efc7f3014fe" +- location: "https://cloud.debian.org/images/cloud/bullseye/20231004-1523/debian-11-genericcloud-arm64-20231004-1523.qcow2" arch: "aarch64" - digest: "sha512:972696f3d3b4d0899c157c18772a74cdfb578ec1e547c47f8a8bc7344257c802346616a7bf8006b7647f73c662fd9179643600a6cc2b10c58992527457332fc7" + digest: "sha512:92e4c7ce1ca4b39f96b5f665ec52afba9421690d96c68a49032a5c7c5dcbd101badc78f7354cede9bd5b3337c821d8eeb9035b8c1dbf1d4398cce8f1c6eecd3b" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-genericcloud-amd64.qcow2" From e2b533661d08054950a6e81a0a5efcdd2a98c92a Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:03:19 +0900 Subject: [PATCH 08/10] templates: update Debian 12 to 20231004-1523 Signed-off-by: Akihiro Suda --- examples/debian-12.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/debian-12.yaml b/examples/debian-12.yaml index 2ef2702a03d..1f02c332b1a 100644 --- a/examples/debian-12.yaml +++ b/examples/debian-12.yaml @@ -1,12 +1,12 @@ # This template requires Lima v0.7.0 or later images: # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud.debian.org/images/cloud/bookworm/20230910-1499/debian-12-genericcloud-amd64-20230910-1499.qcow2" +- location: "https://cloud.debian.org/images/cloud/bookworm/20231004-1523/debian-12-genericcloud-amd64-20231004-1523.qcow2" arch: "x86_64" - digest: "sha512:42f3565ef632bea438b55acffb24a87400c4e285c50a5b79083da1c2ba6eb02e381adb3b45fec387f2852b64170a451be46bcc3b50c0d79a229daaf641b96453" -- location: "https://cloud.debian.org/images/cloud/bookworm/20230910-1499/debian-12-genericcloud-arm64-20230910-1499.qcow2" + digest: "sha512:b594a146d0c85aa138b7fd4ba27cdf4c56fcceef2f90d6f4e1553d35c7faeab566df885ccaa2e48b2c9edf1d1926f0b997406f34729708069c6fad9ee1c73397" +- location: "https://cloud.debian.org/images/cloud/bookworm/20231004-1523/debian-12-genericcloud-arm64-20231004-1523.qcow2" arch: "aarch64" - digest: "sha512:a359237f488ce8c57bae9639212d2a0906a12ff3a58d87a1bab4bbafef4585e682dd1af41136f0bb2471dbecad012d5616e4c977f5f32336fa7bb8a72f675eb1" + digest: "sha512:fe7f7f0938baafd3297470774752b7e89d125a43343765236d9b3aabdeb53b0dc5a5164d22fbcf93f8943f8c24f6836a2b8e02524f090dc6e9dda3f3f0ab0674" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2" From a4ca13415c5c399bb990c7b0e229310d2f8b54e7 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:14:26 +0900 Subject: [PATCH 09/10] templates: riscv64: update u-boot to 2023.07 Signed-off-by: Akihiro Suda --- examples/experimental/riscv64.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/experimental/riscv64.yaml b/examples/experimental/riscv64.yaml index e7afb3599f8..970cc029a24 100644 --- a/examples/experimental/riscv64.yaml +++ b/examples/experimental/riscv64.yaml @@ -6,17 +6,17 @@ images: arch: "riscv64" digest: "sha256:73e7e8d673e3db5bb629e81286db20438343ff4e7aaf4d90844299b4537b59c8" kernel: - # Extracted from http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-qemu_2023.01+dfsg-2_all.deb (GPL-2.0) - location: "https://github.com/lima-vm/u-boot-qemu-mirror/releases/download/2023.01%2Bdfsg-2/qemu-riscv64_smode_uboot.elf" - digest: "sha256:d688d1afd7fd8266a964437438e7d8744c8c27c50124ac1b05e2d83f312a6ca6" + # Extracted from http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-qemu_2023.07+dfsg-1_all.deb (GPL-2.0) + location: "https://github.com/lima-vm/u-boot-qemu-mirror/releases/download/2023.07%2Bdfsg-7/qemu-riscv64_smode_uboot.elf" + digest: "sha256:d4b3a10c3ef04219641802a586dca905e768805f5a5164fb68520887df54f33c" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache - location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-riscv64.img" arch: "riscv64" kernel: - # Extracted from http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-qemu_2023.04+dfsg-1_all.deb (GPL-2.0) - location: "https://github.com/lima-vm/u-boot-qemu-mirror/releases/download/2023.04%2Bdfsg-1/qemu-riscv64_smode_uboot.elf" - digest: "sha256:c3c634d66dca211efe7dece9c83071bc40f1c11db86c9dd7ce6f75bf87edef20" + # Extracted from http://http.us.debian.org/debian/pool/main/u/u-boot/u-boot-qemu_2023.07+dfsg-1_all.deb (GPL-2.0) + location: "https://github.com/lima-vm/u-boot-qemu-mirror/releases/download/2023.07%2Bdfsg-1/qemu-riscv64_smode_uboot.elf" + digest: "sha256:d4b3a10c3ef04219641802a586dca905e768805f5a5164fb68520887df54f33c" mounts: - location: "~" From 3c559f6de33931bd215bc9e478b30a1a49eaca81 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:24:06 +0900 Subject: [PATCH 10/10] Ubuntu: install /etc/apparmor.d/usr.local.bin.rootlesskit Ubuntu 23.10 introduced `kernel.apparmor_restrict_unprivileged_userns` to restrict unsharing user namespaces: https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces `kernel.apparmor_restrict_unprivileged_userns` is still opt-in in Ubuntu 23.10, but it is expected to be enabled in future releases of Ubuntu. The cloud-init script is now updated to install `/etc/apparmor.d/usr.local.bin.rootlesskit` to continue allowing `/usr/local/bin/rootlesskit` to unshare user namespaces. Signed-off-by: Akihiro Suda --- .../boot/40-install-containerd.sh | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh b/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh index aee4fc3ef5f..1f5f004c5ae 100644 --- a/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh +++ b/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh @@ -77,6 +77,26 @@ EOF if command -v selinuxenabled >/dev/null 2>&1 && selinuxenabled; then selinux=1 fi + if [ ! -e "/etc/apparmor.d/usr.local.bin.rootlesskit" ] && [ -e "/etc/apparmor.d/abi/4.0" ] && [ -e "/proc/sys/kernel/apparmor_restrict_unprivileged_userns" ]; then + cat >"/etc/apparmor.d/usr.local.bin.rootlesskit" <, +include + +/usr/local/bin/rootlesskit flags=(unconfined) { + userns, + + # Site-specific additions and overrides. See local/README for details. + include if exists +} +EOF + systemctl restart apparmor.service + fi if [ ! -e "${LIMA_CIDATA_HOME}/.config/systemd/user/containerd.service" ]; then until [ -e "/run/user/${LIMA_CIDATA_UID}/systemd/private" ]; do sleep 3; done if [ -n "$selinux" ]; then