Skip to content

Commit ad2079c

Browse files
committed
Change name for head-node identification in install scripts for PC3
1 parent e5a664e commit ad2079c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

parallelcluster-setup/install-monitoring.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ monitoring_dir_name=$(echo ${cfn_postinstall_args}| cut -d ',' -f 2 )
2222
monitoring_home="/home/${cfn_cluster_user}/${monitoring_dir_name}"
2323

2424
case "${cfn_node_type}" in
25-
MasterServer)
25+
HeadNode)
2626

2727
#cfn_efs=$(cat /etc/chef/dna.json | grep \"cfn_efs\" | awk '{print $2}' | sed "s/\",//g;s/\"//g")
2828
#cfn_cluster_cw_logging_enabled=$(cat /etc/chef/dna.json | grep \"cfn_cluster_cw_logging_enabled\" | awk '{print $2}' | sed "s/\",//g;s/\"//g")

post-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ setup_command=$(echo ${cfn_postinstall_args}| cut -d ',' -f 3 )
1717
monitoring_home="/home/${cfn_cluster_user}/${monitoring_dir_name}"
1818

1919
case ${cfn_node_type} in
20-
MasterServer)
20+
HeadNode)
2121
wget ${monitoring_url} -O ${monitoring_tarball}
2222
mkdir -p ${monitoring_home}
2323
tar xvf ${monitoring_tarball} -C ${monitoring_home} --strip-components 1
@@ -29,4 +29,4 @@ esac
2929

3030
#Execute the monitoring installation script
3131
bash -x "${monitoring_home}/parallelcluster-setup/${setup_command}" >/tmp/monitoring-setup.log 2>&1
32-
exit $?
32+
exit $?

0 commit comments

Comments
 (0)