Skip to content

Commit 12167c2

Browse files
committed
add debian 12 bookworm
Signed-off-by: unidevel <[email protected]>
1 parent 658ef43 commit 12167c2

File tree

5 files changed

+44
-22
lines changed

5 files changed

+44
-22
lines changed

examples/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Distro:
1111
- [`archlinux.yaml`](./archlinux.yaml): ⭐Arch Linux
1212
- [`centos-stream-8.yaml`](./centos-stream-8.yaml): CentOS Stream 8
1313
- [`centos-stream-9.yaml`](./centos-stream-9.yaml), `centos-stream.yaml`: CentOS Stream 9
14-
- [`debian.yaml`](./debian.yaml): ⭐Debian GNU/Linux
14+
- [`debian-11.yaml`](./debian-11.yaml): Debian GNU/Linux 11(bullseye)
15+
- [`debian-12.yaml`](./debian-12.yaml), `debian.yaml`: ⭐Debian GNU/Linux 12(bookworm)
1516
- [`fedora.yaml`](./fedora.yaml): ⭐Fedora
1617
- [`opensuse.yaml`](./opensuse.yaml): ⭐openSUSE Leap
1718
- [`oraclelinux-8.yaml`](./oraclelinux-8.yaml): Oracle Linux 8

examples/debian-11.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This example requires Lima v0.7.0 or later
2+
images:
3+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
4+
- location: "https://cloud.debian.org/images/cloud/bullseye/20230515-1381/debian-11-genericcloud-amd64-20230515-1381.qcow2"
5+
arch: "x86_64"
6+
digest: "sha512:bf6e2e8550dd1f296338e8f6dedaa7bd3d4e31de73ef33e46882430af055a2ce0df9da27c30c159f8d544220a6cf428083724685c4472334fcd7c1191cbbfe27"
7+
- location: "https://cloud.debian.org/images/cloud/bullseye/20230515-1381/debian-11-genericcloud-arm64-20230515-1381.qcow2"
8+
arch: "aarch64"
9+
digest: "sha512:895806e31400c6322fbf240349228a5cf8040e1fac8d1ab3e12ee3a0e11d15ee733ff6d27e0b4db9cbd7adac02dfda1eff34f3174c7898caefb4026c51269823"
10+
# Fallback to the latest release image.
11+
# Hint: run `limactl prune` to invalidate the cache
12+
- location: "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-genericcloud-amd64.qcow2"
13+
arch: "x86_64"
14+
- location: "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-genericcloud-arm64.qcow2"
15+
arch: "aarch64"
16+
17+
mounts:
18+
- location: "~"
19+
- location: "/tmp/lima"
20+
writable: true

examples/debian-12.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This example requires Lima v0.7.0 or later
2+
images:
3+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
4+
- location: "https://cloud.debian.org/images/cloud/bookworm/20230612-1409/debian-12-genericcloud-amd64-20230612-1409.qcow2"
5+
arch: "x86_64"
6+
digest: "sha512:ef30b557dc765a8e29ce770b57b74fce9e9bbb96bc397cb1b53e142164958fb516e95206bad869dee95a372ec4ad717cb0d03b202a3ce8a7596fa58f21837301"
7+
- location: "https://cloud.debian.org/images/cloud/bookworm/20230612-1409/debian-12-genericcloud-arm64-20230612-1409.qcow2"
8+
arch: "aarch64"
9+
digest: "sha512:e4d8fd3afcf4e727a354d7ab1e66add2d22cba4249dfa004d8bc879f76f834086c8aa2e5547ecd057ead86fe1b296107f45a5f8507258498289b96e41893712a"
10+
# Fallback to the latest release image.
11+
# Hint: run `limactl prune` to invalidate the cache
12+
- location: "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
13+
arch: "x86_64"
14+
- location: "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-arm64.qcow2"
15+
arch: "aarch64"
16+
17+
mounts:
18+
- location: "~"
19+
- location: "/tmp/lima"
20+
writable: true

examples/debian.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

examples/debian.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
debian-12.yaml

hack/test-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ if [[ -n ${CHECKS["port-forwards"]} ]]; then
217217
limactl shell "$NAME" sudo pacman -Syu --noconfirm openbsd-netcat
218218
fi
219219
if [ "${NAME}" = "debian" ]; then
220-
limactl shell "$NAME" sudo apt-get install -y netcat
220+
limactl shell "$NAME" sudo apt-get install -y netcat-openbsd
221221
fi
222222
if [ "${NAME}" = "fedora" ]; then
223223
limactl shell "$NAME" sudo dnf install -y nc

0 commit comments

Comments
 (0)