From 55e40787687314717f0a11e34720e5b3ab31f2b8 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 1 Nov 2022 15:13:17 -0400 Subject: [PATCH] Install initscripts during xCAT go-install --- xCAT-server/share/xcat/tools/go-xcat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index c85c921db..70da3308c 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -2,7 +2,7 @@ # # go-xcat - Install xCAT automatically. # -# Version 1.0.50 +# Version 1.0.51 # # Copyright (C) 2016 - 2021 International Business Machines # Eclipse Public License, Version 1.0 (EPL-1.0) @@ -40,6 +40,8 @@ # - Provide correct versions of packages to be installed # 2021-07-27 Mark Gurevich # - Add support for Rocky Linux +# 2022-11-01 Mark Gurevich +# - Make sure initscripts installed on RH family of OSes # @@ -1709,6 +1711,7 @@ function install_packages_dnf() local -a yes=() [[ "$1" = "-y" ]] && yes=("-y") && shift dnf --nogpgcheck "${yes[@]}" install "$@" + dnf --nogpgcheck "${yes[@]}" install initscripts } function install_packages_yum() @@ -1717,6 +1720,7 @@ function install_packages_yum() local -a yes=() [[ "$1" = "-y" ]] && yes=("-y") && shift yum --nogpgcheck "${yes[@]}" install "$@" + yum --nogpgcheck "${yes[@]}" install initscripts } # Dirty workaround on SLES 11 SP4