Skip to content

Commit a204a31

Browse files
authored
Merge pull request #1005 from AkihiroSuda/dev
templates: add experimental/opensuse-tumbleweed
2 parents 16fdf29 + 0a0c1fa commit a204a31

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Others:
4040
- [`experimental/rocky-9.yaml`](experimental/rocky-9.yaml): [experimental] Rocky Linux 9
4141
- [`experimental/oraclelinux-9.yaml`](experimental/oraclelinux-9.yaml): [experimental] Oracle Linux 9
4242
- [`experimental/centos-stream-9.yaml`](experimental/centos-stream-9.yaml): [experimental] CentOS Stream 9
43+
- [`experimental/opensuse-tumbleweed.yaml`](experimental/opensuse-tumbleweed.yaml): [experimental] openSUSE Tumbleweed
4344
- [`experimental/9p.yaml`](experimental/9p.yaml): [experimental] use 9p mount type
4445
- [`experimental/riscv64.yaml`](experimental/riscv64.yaml): [experimental] RISC-V
4546
- [`experimental/apptainer.yaml`](./experimental/apptainer.yaml): [experimental] [Apptainer](https://apptainer.org/)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This example requires Lima v0.11.3 or later
2+
images:
3+
# Hint: run `limactl prune` to invalidate the "Current" cache
4+
- location: https://download.opensuse.org/tumbleweed/appliances/openSUSE-Tumbleweed-JeOS.x86_64-OpenStack-Cloud.qcow2
5+
arch: "x86_64"
6+
# No aarch64 OpenStack build found :(
7+
mounts:
8+
- location: "~"
9+
- location: "/tmp/lima"
10+
writable: true

pkg/cidata/cidata.TEMPLATE.d/boot/11-colorterm-environment.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/sh
22
set -eux
33

4+
# openSUSE Tumbleweed uses /etc/ssh/sshd_config.d, not /etc/ssh/sshd_config
5+
# TODO: support /etc/ssh/sshd_config.d
6+
if [ ! -e /etc/ssh/sshd_config ]; then
7+
exit 0
8+
fi
9+
410
if grep -q "COLORTERM" /etc/ssh/sshd_config; then
511
exit 0
612
fi

0 commit comments

Comments
 (0)