Skip to content

Commit 1c8d82e

Browse files
tinezdupondje
authored andcommitted
alma9: Itroducing alma9 support
This patch provides initial config for AlmaLinux 9. Similar to CentOS Stream 9, engine build is turned off at the moment. On AlmaLinux 9 'VERSION_ID' takes a value of '9.0', so we need to trim the string to match the COPR chroot name. Signed-off-by: Marcin Sobczyk <msobczyk@redhat.com>
1 parent 154ab66 commit 1c8d82e

File tree

7 files changed

+13
-2
lines changed

7 files changed

+13
-2
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ echo "with node image url: ${NODE_URL_BASE:=https://resources.ovirt.org/repos/ov
2020

2121
# cache CentOS images
2222
declare -A ISO_URL
23+
ISO_URL[alma9]="Alma.iso"
2324
ISO_URL[el8]="CentOS.iso"
2425
ISO_URL[el8stream]="CentOS-Stream.iso"
2526
ISO_URL[el9stream]="CentOS-Stream-9.iso"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../el9stream/el9stream-provision-he.sh.in
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../el9stream/el9stream-provision-host.sh.in

configs/alma9/alma9.ks.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../el9stream/el9stream.ks.in

configs/alma9/build.env

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See 'makefiles/vars.mk' for a list of variables that can be overriden
2+
export REPO_ROOT=https://repo.almalinux.org/almalinux/9/
3+
export INSTALL_URL=../$IMAGE
4+
export BUILD_HOST_INSTALLED=1
5+
export BUILD_ENGINE_INSTALLED=
6+
export BUILD_HE_INSTALLED=${BUILD_HE_INSTALLED}
7+
export OPENSCAP_PROFILE="${OPENSCAP_PROFILE}"

configs/el8stream/el8stream-provision-engine.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -xe
22

3-
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-$(. /etc/os-release; echo ${VERSION_ID})
3+
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-$(. /etc/os-release; echo ${VERSION_ID} | grep -o '^[0-9]')
44

55
dnf module enable -y javapackages-tools pki-deps postgresql:12 mod_auth_openidc:2.3
66
dnf -y install \

configs/el8stream/el8stream-provision-host.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -xe
22

3-
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-$(. /etc/os-release; echo ${VERSION_ID})
3+
dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-$(. /etc/os-release; echo ${VERSION_ID} | grep -o '^[0-9]')
44
dnf install -y \
55
dnf-utils \
66
ovirt-release-master

0 commit comments

Comments
 (0)