Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/node/templates/user-data.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ runcmd:
- systemctl enable --now var-mnt-cluster_images.mount
- systemctl enable --now ostree-state-overlay@opt.service
- systemctl enable --now qemu-guest-agent
- nmcli connection modify "cloud-init enp2s0" ipv4.dns-search "~{{.ClusterDomain}} {{.ClusterDomain}}"
- nmcli connection modify "cloud-init enp2s0" ipv4.dns-search "~{{.ClusterDomain}} {{.ClusterDomain}}" ipv4.ignore-auto-dns yes

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Consider whether IPv6 DNS auto-configuration should also be disabled for consistency.

Right now only IPv4 auto DNS is disabled via ipv4.ignore-auto-dns yes. In dual-stack setups (DNS via IPv6 RA/DHCPv6), this could lead to inconsistent DNS behavior between IPv4 and IPv6. Please decide explicitly whether ipv6.ignore-auto-dns should match this setting to avoid subtle interface-specific DNS differences.

Suggested change
- nmcli connection modify "cloud-init enp2s0" ipv4.dns-search "~{{.ClusterDomain}} {{.ClusterDomain}}" ipv4.ignore-auto-dns yes
- nmcli connection modify "cloud-init enp2s0" ipv4.dns-search "~{{.ClusterDomain}} {{.ClusterDomain}}" ipv4.ignore-auto-dns yes ipv6.ignore-auto-dns yes

- nmcli connection up "cloud-init enp2s0"
- systemctl enable --now crio
- systemctl enable kubelet
Expand Down
Loading