File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ usermod -a -G docker $cfn_cluster_user
18
18
curl -L " https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$( uname -s) -$( uname -m) " -o /usr/local/bin/docker-compose
19
19
chmod +x /usr/local/bin/docker-compose
20
20
21
- monitoring_dir_name=${cfn_postinstall_args[1]}
21
+ monitoring_dir_name=aws-parallelcluster-monitoring
22
22
monitoring_home=" /home/${cfn_cluster_user} /${monitoring_dir_name} "
23
23
24
24
echo " $> variable monitoring_dir_name -> ${monitoring_dir_name} "
Original file line number Diff line number Diff line change 4
4
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
5
# SPDX-License-Identifier: MIT-0
6
6
#
7
- #
7
+ # Usage: ./post-install [version]
8
8
9
9
# Load AWS Parallelcluster environment variables
10
10
. /etc/parallelcluster/cfnconfig
11
11
12
- # get GitHub repo to clone and the installation script
13
- monitoring_url=${cfn_postinstall_args[0]}
14
- monitoring_dir_name=${cfn_postinstall_args[1]}
12
+ version=${1:- v0.9}
13
+ monitoring_dir_name=aws-parallelcluster-monitoring
15
14
monitoring_tarball=" ${monitoring_dir_name} .tar.gz"
16
- setup_command=${cfn_postinstall_args[2]}
15
+
16
+ # get GitHub repo to clone and the installation script
17
+ monitoring_url=https://github.com/aws-samples/aws-parallelcluster-monitoring/archive/refs/tags/${version} .tar.gz
18
+ setup_command=install-monitoring.sh
17
19
monitoring_home=" /home/${cfn_cluster_user} /${monitoring_dir_name} "
18
20
19
21
case ${cfn_node_type} in
You can’t perform that action at this time.
0 commit comments