File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 146146fi
147147
148148GO_VERSION=${GO_VERSION:- 1.22.3}
149+ GO_CUSTOM_MIRROR=${GO_CUSTOM_MIRROR:- " https://go.dev/dl" }
149150
150151GOARCH=$( uname -m)
151152if [[ $GOARCH == " aarch64" ]]; then
@@ -170,6 +171,7 @@ ANSIBLE_FORCE_COLOR=true ansible-playbook \
170171 -e " working_dir=$WORKING_DIR " \
171172 -e " virthost=$HOSTNAME " \
172173 -e " go_version=$GO_VERSION " \
174+ -e " go_custom_mirror=$GO_CUSTOM_MIRROR " \
173175 -e " GOARCH=$GOARCH " \
174176 $ALMA_PYTHON_OVERRIDE \
175177 -i vm-setup/inventory.ini \
Original file line number Diff line number Diff line change @@ -161,6 +161,11 @@ set -x
161161#
162162# export GO_VERSION="1.21.6"
163163
164+ # Go download mirror to use
165+ # The url to use to download the golang binary. The default value is https://go.dev/dl
166+ #
167+ # export GO_CUSTOM_MIRROR="https://go.dev/dl"
168+
164169# ###############################################################################
165170# # General Settings
166171# #
You can’t perform that action at this time.
0 commit comments