Skip to content

Commit dce155c

Browse files
committed
Fix the dir where to save cluster-config.json
1 parent 81ea043 commit dce155c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parallelcluster-setup/install-monitoring.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ case "${cfn_node_type}" in
3636
cluster_config_s3_key=$(cat /etc/chef/dna.json | grep \"cluster_config_s3_key\" | awk '{print $2}' | sed "s/\",//g;s/\"//g")
3737
cluster_config_version=$(cat /etc/chef/dna.json | grep \"cluster_config_version\" | awk '{print $2}' | sed "s/\",//g;s/\"//g")
3838

39-
aws s3api get-object --bucket $cluster_s3_bucket --key $cluster_config_s3_key --region $cfn_region --version-id $cluster_config_version /home/$cfn_cluster_user/parallelcluster-setup/cluster-config.json
39+
aws s3api get-object --bucket $cluster_s3_bucket --key $cluster_config_s3_key --region $cfn_region --version-id $cluster_config_version /home/${cfn_cluster_user}/${monitoring_dir_name}/parallelcluster-setup/cluster-config.json
4040

4141
yum -y install golang-bin
4242

0 commit comments

Comments
 (0)