Skip to content

Commit c444862

Browse files
committed
[WIP DNM] templates: update openSUSE Leap to 16
Fails, as the zypper repos are no longer enabled by default (why?) ``` + zypper --non-interactive install -y --no-recommends sshfs iptables fuse3 Loading repository data... Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed. Reading installed packages... 'iptables' not found in package names. Trying capabilities. No provider of 'iptables' found. 'fuse3' not found in package names. Trying capabilities. No provider of 'fuse3' found. 'sshfs' not found in package names. Trying capabilities. No provider of 'sshfs' found. LIMA 2025-10-15T16:03:21+09:00| WARNING: Failed to execute /mnt/lima-cidata/boot/30-install-packages.sh ``` Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 9873c5e commit c444862

File tree

7 files changed

+45
-20
lines changed

7 files changed

+45
-20
lines changed

templates/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Distro:
2424
- [`debian-13`](./debian-13.yaml), `debian.yaml`: ⭐Debian GNU/Linux 13(trixie)
2525
- [`fedora-41`](./fedora-41.yaml): Fedora 41
2626
- [`fedora-42`](./fedora-42.yaml), `fedora.yaml`: ⭐Fedora 42
27-
- [`opensuse-leap`](./opensuse-leap.yaml), `opensuse.yaml`: ⭐openSUSE Leap
27+
- [`opensuse-leap-15](./opensuse-leap-15.yaml): openSUSE Leap 15
28+
- [`opensuse-leap-16`](./opensuse-leap-16.yaml), `opensuse-leap.yaml`, `opensuse.yaml`: ⭐openSUSE Leap 16
2829
- [`oraclelinux-8`](./oraclelinux-8.yaml): Oracle Linux 8
2930
- [`oraclelinux-9`](./oraclelinux-9.yaml), `oraclelinux.yaml`: Oracle Linux 9
3031
- [`rocky-8`](./rocky-8.yaml): Rocky Linux 8
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
images:
2+
# Hint: run `limactl prune` to invalidate the Current cache
3+
4+
- location: https://download.opensuse.org/distribution/leap/15.6/appliances/openSUSE-Leap-15.6-Minimal-VM.x86_64-Cloud.qcow2
5+
arch: x86_64
6+
7+
- location: https://download.opensuse.org/distribution/leap/15.6/appliances/openSUSE-Leap-15.6-Minimal-VM.aarch64-Cloud.qcow2
8+
arch: aarch64
9+
10+
# Hint: to allow 9p and virtiofs, replace the `kernel-default-base` package with `kernel-default` and reboot the VM.
11+
# https://github.com/lima-vm/lima/issues/3055
12+
mountType: reverse-sshfs
13+
14+
mountTypesUnsupported: [9p, virtiofs]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
images:
2+
# Hint: run `limactl prune` to invalidate the Current cache
3+
4+
- location: https://download.opensuse.org/distribution/leap/16.0/appliances/Leap-16.0-Minimal-VM.x86_64-Cloud.qcow2
5+
arch: x86_64
6+
7+
- location: https://download.opensuse.org/distribution/leap/16.0/appliances/Leap-16.0-Minimal-VM.aarch64-Cloud.qcow2
8+
arch: aarch64
9+
10+
- location: https://download.opensuse.org/distribution/leap/16.0/appliances/Leap-16.0-Minimal-VM.s390x-s390x-Cloud.qcow2
11+
arch: s390x
12+
13+
# Hint: to allow 9p and virtiofs, replace the `kernel-default-base` package with `kernel-default` and reboot the VM.
14+
# https://github.com/lima-vm/lima/issues/3055
15+
mountType: reverse-sshfs
16+
17+
mountTypesUnsupported: [9p, virtiofs]

templates/_images/opensuse-leap.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
opensuse-leap-16.yaml

templates/opensuse-leap-15.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
minimumLimaVersion: 1.1.0
2+
3+
base:
4+
- template://_images/opensuse-leap-15
5+
- template://_default/mounts

templates/opensuse-leap-16.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
minimumLimaVersion: 1.1.0
2+
3+
base:
4+
- template://_images/opensuse-leap-16
5+
- template://_default/mounts

templates/opensuse-leap.yaml

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

templates/opensuse-leap.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
opensuse-leap-16.yaml

0 commit comments

Comments
 (0)