@@ -151,7 +151,7 @@ run_root_level_tests() {
151151 fi
152152 fi
153153
154- if [ " x ${USER_TEST_OPTIONS} " != " x " ]; then
154+ if [ " ${USER_TEST_OPTIONS} " != " " ]; then
155155 echo " "
156156 echo " adding ${USER_TEST_OPTIONS} to root tests"
157157 echo " "
@@ -193,7 +193,7 @@ run_user_level_tests() {
193193 config_opts=" $config_opts --with-compiler-families='gnu12 arm1'"
194194 fi
195195
196- if [ " x ${USER_TEST_OPTIONS} " != " x " ]; then
196+ if [ " ${USER_TEST_OPTIONS} " != " " ]; then
197197 echo " "
198198 echo " adding ${USER_TEST_OPTIONS} to user tests"
199199 echo " "
@@ -294,7 +294,12 @@ install_openHPC_cluster() {
294294 if [ " ${Provisioner} " == " warewulf" ]; then
295295 echo " CI Customization: console=tty0 breaks the compute nodes"
296296 sed ' /dnf -y install ohpc-warewulf/a sed -e "s,# \\(database chunk size\\),\\1,g" -i /etc/warewulf/database.conf' -i " ${recipeFile} "
297- sed ' /dnf -y install ohpc-warewulf/a sed -e "s,console=tty0,,g" -i /usr/share/perl5/vendor_perl/Warewulf/Provision/Pxe.pm' -i " ${recipeFile} "
297+ if [[ " ${DISTRIBUTION} " == " leap" * ]]; then
298+ sed ' /dnf -y install ohpc-warewulf/a sed -e "s,console=tty0,,g" -i /usr/lib/perl5/vendor_perl/*/Warewulf/Provision/Pxe.pm' -i " ${recipeFile} "
299+ else
300+ sed ' /dnf -y install ohpc-warewulf/a sed -e "s,console=tty0,,g" -i /usr/share/perl5/vendor_perl/Warewulf/Provision/Pxe.pm' -i " ${recipeFile} "
301+ fi
302+
298303 fi
299304 if [ " ${Provisioner} " == " warewulf4" ]; then
300305 echo " CI Customization: Switch to http in repository definition"
@@ -666,6 +671,7 @@ wait_for_computes() {
666671 ipmitool -E -I lanplus -H " ${c_bmc[$j]} " -U " ${bmc_username} " -P " ${bmc_password} " chassis bootdev pxe options=efiboot
667672 fi
668673 ipmitool -E -I lanplus -H " ${c_bmc[$j]} " -U " ${bmc_username} " -P " ${bmc_password} " power off
674+ local_sleep 5
669675 ipmitool -E -I lanplus -H " ${c_bmc[$j]} " -U " ${bmc_username} " -P " ${bmc_password} " power on
670676 done
671677 fi
@@ -730,11 +736,7 @@ enable_repo() {
730736 if [[ " ${VERSION_MAJOR} " == " 2" ]]; then
731737 OBS_KEY=" https://obs.openhpc.community/projects/OpenHPC/public_key"
732738 else
733- if [[ " ${VERSION_MINOR} " != " 0" ]]; then
734- OBS_KEY=" https://obs.openhpc.community/projects/OpenHPC${VERSION_MAJOR} /public_key"
735- else
736- OBS_KEY=" http://obs.openhpc.community:82/OpenHPC${VERSION_MAJOR} :/${VERSION_MAJOR} .0:/Factory/${os_repo} /repodata/repomd.xml.key"
737- fi
739+ OBS_KEY=" http://obs.openhpc.community:82/OpenHPC${VERSION_MAJOR} :/${VERSION_MAJOR} .0:/Factory/${os_repo} /repodata/repomd.xml.key"
738740 fi
739741 STAGING_REPO_KEY=" ${STAGING_REPO} /${os_repo} /repodata/repomd.xml.key"
740742 RELEASE_REPO_KEY=" ${RELEASE_REPO} /${os_repo} /repodata/repomd.xml.key"
0 commit comments