File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ chmod +x /usr/local/bin/docker-compose
2121monitoring_dir_name=${cfn_postinstall_args[1]}
2222monitoring_home=" /home/${cfn_cluster_user} /${monitoring_dir_name} "
2323
24+ echo " $> variable monitoring_dir_name -> ${monitoring_dir_name} "
25+ echo " $> variable monitoring_home -> ${monitoring_home} "
26+
27+
2428case " ${cfn_node_type} " in
2529 HeadNode)
2630
@@ -98,6 +102,8 @@ case "${cfn_node_type}" in
98102 ComputeFleet)
99103 compute_instance_type=$( ec2-metadata -t | awk ' {print $2}' )
100104 gpu_instances=" [pg][2-9].*\.[0-9]*[x]*large"
105+ echo " $> Compute Instances Type EC2 -> ${compute_instance_type} "
106+ echo " $> GPUS Instances EC2 -> ${gpu_instances} "
101107 if [[ $compute_instance_type =~ $gpu_instances ]]; then
102108 distribution=$( . /etc/os-release; echo $ID$VERSION_ID )
103109 curl -s -L https://nvidia.github.io/nvidia-docker/$distribution /nvidia-docker.repo | tee /etc/yum.repos.d/nvidia-docker.repo
You can’t perform that action at this time.
0 commit comments