Skip to content

Commit

Permalink
aii-ks EL9 variant: add required packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jouvin committed Nov 11, 2024
1 parent 1a3f345 commit 4b9a98d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 9 additions & 2 deletions aii-ks/src/main/pan/quattor/aii/ks/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ variable AII_OSINSTALL_OPTION_FIREWALL ?= null;
# default list of packages required for the initial installation
#

variable AII_OSINSTALL_VERSIONLOCK_PLUGIN = if ( OS_VERSION_PARAMS['majorversion'] >= '8' ) {
"python3-dnf-plugin-versionlock";
} else {
"yum-plugin-versionlock";
};
variable AII_OSINSTALL_PACKAGES ?= list(
"curl",
"lsof",
Expand All @@ -371,13 +376,15 @@ variable AII_OSINSTALL_PACKAGES ?= list(
"perl-URI",
"perl-XML-Parser",
"yum-plugin-priorities",
"yum-plugin-versionlock",
AII_OSINSTALL_VERSIONLOCK_PLUGIN,
"wget",
);


"packages" ?= AII_OSINSTALL_PACKAGES;
"packages" = {
foreach (i; pkg_name; AII_OSINSTALL_PACKAGES) {
append(pkg_name);
};
if (value('/system/aii/osinstall/ks/selinux') == 'disabled') {
# grubby is used to disable selinux on with kernel parameter
append('grubby');
Expand Down
7 changes: 7 additions & 0 deletions aii-ks/src/main/pan/quattor/aii/ks/variants/el9.pan
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ prefix "/system/aii/osinstall/ks";
"langsupport" = null;
"packages_args" = list("--ignoremissing");

# Required by perl-CDB_File
"packages" = append("perl-English");
# Required by some Quattor components and must be installed before
# /etc/init.d is created by something else (e.g. a Quattor package)
"packages" = append("chkconfig");
"packages" = append("initscripts");

"part_label" = true;
"volgroup_required" = false;
"lvmforce" = true;
Expand Down

0 comments on commit 4b9a98d

Please sign in to comment.