File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
hpc_provisioner/src/hpc_provisioner Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ CustomActions:
21
21
Args : !config create_users_args
22
22
- Script : s3://sboinfrastructureassets-sandbox/scripts/environment.sh
23
23
Args : !config environment_args
24
- - Script : s3://sboinfrastructureassets-sandbox/scripts/80_cloudwatch_agent_config_prolog.sh
25
24
# - Script: s3://sboinfrastructureassets/scripts/all_or_nothing_allocation.sh
26
25
# - Script: s3://sboinfrastructureassets/scripts/setup_lustre_directories.py
27
26
# Args:
Original file line number Diff line number Diff line change @@ -208,6 +208,13 @@ def pcluster_create(
208
208
pcluster_config ["Scheduling" ]["SlurmQueues" ] = choose_tier (pcluster_config , options )
209
209
if not options ["include_lustre" ]:
210
210
pcluster_config ["SharedStorage" ].pop (1 )
211
+ if benchmark :
212
+ pcluster_config ["HeadNode" ]["CustomActions" ]["OnNodeConfigured" ]["Sequence" ].append (
213
+ {
214
+ "Script" : "s3://sboinfrastructureassets-sandbox/scripts/80_cloudwatch_agent_config_prolog.sh"
215
+ }
216
+ )
217
+
211
218
output_file_name = write_config (cluster_name , pcluster_config )
212
219
213
220
try :
You can’t perform that action at this time.
0 commit comments