File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
jenkins/scripts/dynamic_worker_workflow Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,24 @@ export IRONIC_FROM_SOURCE="${IRONIC_FROM_SOURCE:-false}"
2626export BUILD_IRONIC_IMAGE_LOCALLY=" "
2727export USE_IRSO=" ${USE_IRSO:- false} "
2828
29+ # IPv6 needed vars
30+ if [[ IPV6_ONLY == true ]]; then
31+ export IPXE_ENABLE_IPV6=" ${IPXE_ENABLE_IPV6:- false} "
32+ export IP_STACK=" ${IP_STACK-v4} "
33+ export EXTERNAL_SUBNET_V6=" ${EXTERNAL_SUBNET_V6:- } "
34+ export BARE_METAL_PROVISIONER_SUBNET_IPV6_ONLY=" ${BARE_METAL_PROVISIONER_SUBNET_IPV6_ONLY:- false} "
35+ export DOCKER_USE_IPV6_INTERNALLY=" ${DOCKER_USE_IPV6_INTERNALLY:- false} "
36+ export POD_CIDR=" ${POD_CIDR:- 192.168.0.0/ 18} "
37+ export BUILD_IPXE=" ${BUILD_IPXE:- false} "
38+
39+ # Set and clone utility images repo
40+ export UTILITY_IMAGES_REPO=" https://github.com/metal3-io/utility-images"
41+ UTILITY_IMAGES_LOCATION=" ${HOME} /utility-images"
42+ rm -rf " ${UTILITY_IMAGES_LOCATION} "
43+ git clone " ${UTILITY_IMAGES_REPO} " " ${UTILITY_IMAGES_LOCATION} "
44+ export IPXE_BUILDER_LOCAL_IMAGE=" ${UTILITY_IMAGES_LOCATION} /ipxe-builder/"
45+ fi
46+
2947if [[ " ${IRONIC_INSTALL_TYPE} " == " source" ]]; then
3048 IRONIC_FROM_SOURCE=" true"
3149 if [[ " ${REPO_NAME} " == " ironic-image" ]]; then
You can’t perform that action at this time.
0 commit comments