Skip to content

Commit 7e52180

Browse files
committed
Remove region check from default.rb
Signed-off-by: Francesco De Martino <[email protected]>
1 parent 693654a commit 7e52180

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

attributes/default.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@
6060
default['cfncluster']['nvidia']['cuda_url'] = 'https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux'
6161
# EFA
6262
default['cfncluster']['efa']['installer_url'] = 'https://s3-us-west-2.amazonaws.com/aws-efa-installer/aws-efa-installer-latest.tar.gz'
63-
# AWS CLI China Mirror
64-
if node['cfncluster']['cfn_region'].start_with?("cn-")
65-
default['cfncluster']['awscli']['url'] = "https://s3.cn-north-1.amazonaws.com.cn/cn-north-1-aws-parallelcluster/aws-cli/awscli-bundle.zip"
66-
else
67-
default['cfncluster']['awscli']['url'] = "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip"
68-
end
6963

7064
# Reboot after default_pre recipe
7165
default['cfncluster']['default_pre_reboot'] = 'true'

0 commit comments

Comments
 (0)