Skip to content

Commit

Permalink
images: Add simplestream configuration
Browse files Browse the repository at this point in the history
Add simplestream configuration for image requirements and release aliases.

Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Apr 1, 2024
1 parent a69a570 commit 546dd92
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 0 deletions.
5 changes: 5 additions & 0 deletions images/alpine.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
image:
distribution: "alpinelinux"

simplestream:
requirements:
- requirements:
secure_boot: false

source:
downloader: alpinelinux-http
same_as: 3.12
Expand Down
6 changes: 6 additions & 0 deletions images/amazonlinux.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
image:
distribution: amazonlinux


simplestream:
requirements:
- requirements:
cgroup: v1

source:
downloader: rootfs-http
url: https://cdn.amazonlinux.com/os-images/{{ image.release }}/{% if image.architecture == "aarch64" %}container-arm64{% else %}container{% endif %}/amzn2-container-raw-{{ image.release }}-{% if image.architecture == "aarch64" %}arm64{% else %}{{ image.architecture }}{% endif %}.tar.xz
Expand Down
5 changes: 5 additions & 0 deletions images/archlinux.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
image:
distribution: archlinux

simplestream:
requirements:
- requirements:
secure_boot: false

source:
downloader: archlinux-http
url: https://archive.archlinux.org/iso/
Expand Down
7 changes: 7 additions & 0 deletions images/centos.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
image:
distribution: centos

simplestream:
requirements:
- requirements:
cgroup: v1
releases:
- 7

source:
downloader: centos-http
url: https://mirror.math.princeton.edu/pub/centos/
Expand Down
7 changes: 7 additions & 0 deletions images/debian.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
image:
distribution: "debian"

simplestream:
release_aliases:
buster: 10
bullseye: 11
bookworm: 12
trixie: 13

source:
downloader: debootstrap
same_as: sid
Expand Down
5 changes: 5 additions & 0 deletions images/gentoo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
image:
distribution: gentoo

simplestream:
requirements:
- requirements:
secure_boot: false

source:
downloader: gentoo-http
url: https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
Expand Down
5 changes: 5 additions & 0 deletions images/nixos.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
image:
distribution: nixos

simplestream:
requirements:
- requirements:
secure_boot: false

source:
downloader: nixos-http

Expand Down
8 changes: 8 additions & 0 deletions images/oracle.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
image:
distribution: oracle

simplestream:
requirements:
- requirements:
cgroup: v1
releases:
- 7


source:
downloader: oraclelinux-http
url: https://mirrors.kernel.org/oracle/
Expand Down
7 changes: 7 additions & 0 deletions images/springdalelinux.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
image:
distribution: Springdale

simplestream:
requirements:
- requirements:
cgroup: v1
releases:
- 7

source:
downloader: springdalelinux-http
url: https://mirror.math.princeton.edu/pub/springdale/puias/
Expand Down
19 changes: 19 additions & 0 deletions images/ubuntu.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
image:
distribution: "ubuntu"

simplestream:
release_aliases:
xenial: 16.04
bionic: 18.04
focal: 20.04
jammy: 22.04
lunar: 23.04
mantic: 23.10
noble: 24.04
requirements:
- requirements:
cgroup: v1
releases:
- xenial
- requirements:
cgroup: v2
releases:
- noble

source:
downloader: debootstrap
same_as: gutsy
Expand Down

0 comments on commit 546dd92

Please sign in to comment.