mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
Merge branch '8-BETA-slurm' into develop
This commit is contained in:
commit
1702a7f55a
@ -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"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/rocky-anaconda_install_weak_password-arabic-20231116.png
Normal file
BIN
needles/rocky-anaconda_install_weak_password-arabic-20231116.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 123 KiB |
@ -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 |
@ -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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user