From 368a767fb9c77073e63fb06e8a7dfd9fb86aa20f Mon Sep 17 00:00:00 2001 From: Helena Greebe Date: Wed, 9 Oct 2024 14:34:10 -0400 Subject: [PATCH] [ADC] Configure certificates for login nodes in ADC --- .../templates/default/slurm/resume_program.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/aws-parallelcluster-slurm/templates/default/slurm/resume_program.erb b/cookbooks/aws-parallelcluster-slurm/templates/default/slurm/resume_program.erb index 290ffcf3b..252a47a61 100644 --- a/cookbooks/aws-parallelcluster-slurm/templates/default/slurm/resume_program.erb +++ b/cookbooks/aws-parallelcluster-slurm/templates/default/slurm/resume_program.erb @@ -2,6 +2,8 @@ # ResumeProgram should read SLURM_RESUME_FILE within ten seconds of starting to guarantee that it still exists. # ref https://slurm.schedmd.com/power_save.html#tolerance +source /etc/profile.d/aws-cli-default-config.sh + trap "rm -f ${SLURM_RESUME_FILE_TMP}" EXIT SLURM_RESUME_FILE_TMP=$(mktemp)