Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 6c2ab5c

Browse files
authored
F #267: Add EL9 support
2 parents 7f58221 + 5cffad2 commit 6c2ab5c

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ List of tested platforms only:
2828

2929
| Platform | Versions |
3030
|---------------------------------|------------------------------------------|
31-
| AlmaLinux | 8 |
31+
| AlmaLinux | 8, 9 |
3232
| Alpine Linux | 3.13, 3.14, 3.15 |
3333
| Amazon Linux | 2 |
3434
| CentOS | 7, 8 Stream |
@@ -87,6 +87,7 @@ Selectable configuration types and IP configuration methods are **supported only
8787
| openSUSE 15 | `scripts` |
8888
| RHEL-like 7 (CentOS, Oracle Linux) | `scripts` |
8989
| RHEL-like 8 (CentOS, Oracle/Rocky/AlmaLinux) | `scripts`, `nm`, `networkd` |
90+
| RHEL-like 9 (CentOS Stream 9, Oracle/Rocky/AlmaLinux) | `nm`, `networkd` |
9091
| Ubuntu 18.04, 20.04, 21.10, 22.04 | `interfaces`, `netplan`, `nm`, `networkd` |
9192

9293
(other than listed platforms are not supported for using `NETCFG_TYPE` nor `METHOD`/`IP6_METHOD`!):

generate-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
export DATE=$(date +%Y%m%d)
6-
TARGETS='el6 el7 el8 alt suse deb alpine freebsd iso'
6+
TARGETS='el6 el7 el8 el9 alt suse deb alpine freebsd iso'
77

88
for TARGET in $TARGETS; do
99
TARGET="${TARGET}" ./generate.sh

targets.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@ case "${TARGET}" in
8080
POSTUP=${POSTUP:-pkg/postupgrade}
8181
;;
8282

83+
'el9')
84+
NAME=${NAME:-one-context}
85+
RELSUFFIX=${RELSUFFIX:-.el9}
86+
TYPE=${TYPE:-rpm}
87+
TAGS=${TAGS:-linux rpm systemd one}
88+
DEPENDS=${DEPENDS:-util-linux bash curl bind-utils cloud-utils-growpart parted ruby rubygem-json sudo shadow-utils openssh-server qemu-guest-agent gawk virt-what}
89+
RECOMMENDS=${RECOMMENDS:-open-vm-tools}
90+
PROVIDES=${PROVIDES:-}
91+
REPLACES=${REPLACES:-cloud-init}
92+
CONFLICTS=${CONFLICTS:-${REPLACES} one-context-ec2}
93+
POSTIN=${POSTINST:-pkg/postinstall}
94+
PREUN=${PREUN:-pkg/preuninstall}
95+
POSTUN=${POSTUN:-pkg/postuninstall}
96+
POSTUP=${POSTUP:-pkg/postupgrade}
97+
;;
98+
8399
'alt')
84100
NAME=${NAME:-one-context}
85101
RELSUFFIX=${RELSUFFIX:-alt}

0 commit comments

Comments
 (0)