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 6060default [ 'cfncluster' ] [ 'nvidia' ] [ 'cuda_url' ] = 'https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux'
6161# EFA
6262default [ '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
6369
6470# Reboot after default_pre recipe
6571default [ 'cfncluster' ] [ 'default_pre_reboot' ] = 'true'
You can’t perform that action at this time.
0 commit comments