Skip to content

Commit 10c46ad

Browse files
Merge pull request #1125 from rebtoor/ironic-ipv6
[ironic_adoption] Enable IPv6 support for `dns_server_provisioning_ip`
2 parents f7f199d + 8394a29 commit 10c46ad

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
4+
rev: v6.0.0
55
hooks:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace

tests/roles/ironic_adoption/defaults/main.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
22
storage_class_name: local-storage
3-
dns_server_provisioning_ip: 192.168.122.80
3+
dns_server_provisioning_ip: >-
4+
{{
5+
(ctlplane_prefix_ipv6 | default('2620:cf:cf:aaaa')) ~ '::50'
6+
if ipv6_enabled | default(false)
7+
else (ctlplane_prefix | default('192.168.122')) ~ '.80'
8+
}}
49
ironic_network: baremetal
510
ironic_patch: |
611
spec:

0 commit comments

Comments
 (0)