Merge branch '8-BETA-slurm' into develop

This commit is contained in:
Trevor Cooper 2023-11-17 22:25:31 -08:00
commit 1702a7f55a
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8
6 changed files with 47 additions and 3 deletions

View File

@ -0,0 +1,17 @@
{
"area": [
{
"xpos": 650,
"ypos": 743,
"width": 335,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-arabic",
"anaconda_install_weak_password"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@ -0,0 +1,24 @@
{
"area": [
{
"height": 11,
"width": 36,
"type": "match",
"ypos": 145,
"xpos": 398
},
{
"xpos": 43,
"ypos": 746,
"width": 393,
"height": 11,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-russian",
"anaconda_install_weak_password"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

View File

@ -65,6 +65,9 @@ sub _do_root_and_user {
# Check username (and hence keyboard layout) if non-English # Check username (and hence keyboard layout) if non-English
if (get_var('LANGUAGE')) { if (get_var('LANGUAGE')) {
assert_screen "anaconda_install_user_created"; assert_screen "anaconda_install_user_created";
if (check_screen "anaconda_install_weak_password") {
assert_and_click "anaconda_spoke_done";
}
} }
} }

View File

@ -9,17 +9,17 @@ sub slurm_setup {
assert_script_run "dnf -y install rocky-release-hpc", 120; assert_script_run "dnf -y install rocky-release-hpc", 120;
# Set up munge # Set up munge
assert_script_run "dnf -y install munge", 120; assert_script_run 'dnf -y install munge --releasever=' . get_version_major, 120;
assert_script_run "dd if=/dev/urandom bs=1 count=1024 >/etc/munge/munge.key"; assert_script_run "dd if=/dev/urandom bs=1 count=1024 >/etc/munge/munge.key";
assert_script_run "chmod 400 /etc/munge/munge.key"; assert_script_run "chmod 400 /etc/munge/munge.key";
assert_script_run "chown munge.munge /etc/munge/munge.key"; assert_script_run "chown munge.munge /etc/munge/munge.key";
assert_script_run "systemctl enable --now munge.service"; assert_script_run "systemctl enable --now munge.service";
# install slurm # install slurm
if (get_var("CURRREL") eq '8') { if (get_version_major() eq '8') {
assert_script_run "dnf config-manager --set-enabled powertools"; assert_script_run "dnf config-manager --set-enabled powertools";
} }
assert_script_run "dnf install -y slurm$version-slurmdbd slurm$version-slurmrestd slurm$version-slurmctld slurm$version-slurmd"; assert_script_run "dnf install -y slurm$version-slurmdbd slurm$version-slurmrestd slurm$version-slurmctld slurm$version-slurmd --releasever=" . get_version_major;
# Since this is a single node system, we don't have to modify the conf files. We will for larger multi-node tests. # Since this is a single node system, we don't have to modify the conf files. We will for larger multi-node tests.
# start services # start services