We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2079c commit c2336f8Copy full SHA for c2336f8
post-install.sh
@@ -10,10 +10,10 @@
10
. /etc/parallelcluster/cfnconfig
11
12
#get GitHub repo to clone and the installation script
13
-monitoring_url=$(echo ${cfn_postinstall_args}| cut -d ',' -f 1 )
14
-monitoring_dir_name=$(echo ${cfn_postinstall_args}| cut -d ',' -f 2 )
+monitoring_url=${cfn_postinstall_args[0]}
+monitoring_dir_name=${cfn_postinstall_args[1]}
15
monitoring_tarball="${monitoring_dir_name}.tar.gz"
16
-setup_command=$(echo ${cfn_postinstall_args}| cut -d ',' -f 3 )
+setup_command=${cfn_postinstall_args[2]}
17
monitoring_home="/home/${cfn_cluster_user}/${monitoring_dir_name}"
18
19
case ${cfn_node_type} in
0 commit comments