Skip to content

Commit 4fd2f8c

Browse files
committed
Add support for ipv6
1 parent 6a6065a commit 4fd2f8c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

jenkins/scripts/dynamic_worker_workflow/dev_env_integration_tests.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,24 @@ export IRONIC_FROM_SOURCE="${IRONIC_FROM_SOURCE:-false}"
2626
export BUILD_IRONIC_IMAGE_LOCALLY=""
2727
export 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+
2947
if [[ "${IRONIC_INSTALL_TYPE}" == "source" ]]; then
3048
IRONIC_FROM_SOURCE="true"
3149
if [[ "${REPO_NAME}" == "ironic-image" ]]; then

0 commit comments

Comments
 (0)