mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
Adjust slurm test code for runs with stg repos
This commit is contained in:
parent
ab0b05be3d
commit
a34a9253ba
@ -9,7 +9,7 @@ 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_var("CURRREL"), 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";
|
||||||
@ -19,7 +19,7 @@ sub slurm_setup {
|
|||||||
if (get_var("CURRREL") eq '8') {
|
if (get_var("CURRREL") 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_var("CURRREL");
|
||||||
|
|
||||||
# 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