File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
soca/cluster_web_ui/templates Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1337,7 +1337,7 @@ def scheduler(self):
1337
1337
1338
1338
self .soca_resources ["scheduler_instance" ] = ec2 .Instance (
1339
1339
self ,
1340
- " SchedulerInstance" ,
1340
+ f" { user_specified_variables . cluster_id } - SchedulerInstance" ,
1341
1341
availability_zone = vpc_subnets .availability_zones ,
1342
1342
machine_image = ec2 .MachineImage .generic_linux (
1343
1343
{user_specified_variables .region : self .soca_resources ["ami_id" ]}
@@ -1362,6 +1362,7 @@ def scheduler(self):
1362
1362
security_group = self .soca_resources ["scheduler_sg" ],
1363
1363
vpc_subnets = vpc_subnets ,
1364
1364
user_data = ec2 .UserData .custom (user_data ),
1365
+ require_imdsv2 = True if install_props .Config .metadata_http_tokens == "required" else False
1365
1366
)
1366
1367
1367
1368
Tags .of (self .soca_resources ["scheduler_instance" ]).add (
Original file line number Diff line number Diff line change @@ -51,10 +51,6 @@ NCPU=$(nproc)
51
51
if [[ $SOCA_BASE_OS == " rhel7" ]]; then
52
52
# RHEL7
53
53
curl " $EPEL_URL " -o $EPEL_RPM
54
- if [[ $( md5sum " $EPEL_RPM " | awk ' {print $1}' ) != " $EPEL_HASH " ]]; then
55
- echo -e " FATAL ERROR: Checksum for EPEL failed. File may be compromised." > /etc/motd
56
- exit 1
57
- fi
58
54
yum -y install $EPEL_RPM
59
55
yum install -y $( echo ${SYSTEM_PKGS[*]} ${SCHEDULER_PKGS[*]} ) --enablerepo rhel-7-server-rhui-optional-rpms
60
56
elif [[ $SOCA_BASE_OS == " centos7" ]]; then
@@ -507,4 +503,4 @@ echo -e "
507
503
508
504
# Reboot to ensure SELINUX is disabled
509
505
# Note: Upon reboot, SchedulerPostReboot.sh script will be executed and will finalize scheduler configuration
510
- reboot
506
+ reboot
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ <h6 class="m-0 font-weight-bold text-primary">Your job queue</h6>
83
83
< th >
84
84
< button type ="button " class ="btn btn-primary " data-toggle ="modal " data-target ="#job{{ job_id.split( ". ")[0] }}"> Job Info</ button >
85
85
{% if job_data.job_state != 'E' %}
86
- < button type ="button " class ="btn btn-danger " data-toggle ="modal " data-target ="#delete{{ job_id.split( ". ")[0] }}"> Delete Session </ button >
86
+ < button type ="button " class ="btn btn-danger " data-toggle ="modal " data-target ="#delete{{ job_id.split( ". ")[0] }}"> Delete Job </ button >
87
87
{% endif %}
88
88
{% if job_data.Variable_List.PBS_O_WORKDIR %}
89
89
< a target ="_blank " rel ="noopener,noreferrer " href ="/my_files?path={{ job_data.Variable_List.PBS_O_WORKDIR }} "> < button type ="button " class ="btn btn-warning "> Job Directory</ button > </ a >
You can’t perform that action at this time.
0 commit comments