Skip to content

Commit

Permalink
OCPBUGS-16781: Fix validation failure when using IPv6_DHCP (#1555)
Browse files Browse the repository at this point in the history
This fixes a validation problem when using IPv6_DHCP.
  • Loading branch information
bfournie authored Jul 31, 2023
1 parent ee72774 commit 768c9c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion agent/roles/manifests/templates/agent-config_yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ apiVersion: v1alpha1
metadata:
name: {{ cluster_name }}
namespace: {{ cluster_namespace }}
rendezvousIP: {{ ips[0] }}
{% if ip_stack == "v4" or ip_stack == "v4v6" %}
rendezvousIP: {{ ips[0] }}
{% else %}
rendezvousIP: {{ ipsv6[0] }}
{% endif %}
{% if boot_mode == "PXE" %}
ipxeBaseURL: {{ pxe_server_url }}
{% endif %}
Expand Down

0 comments on commit 768c9c6

Please sign in to comment.