fix: derive cluster network interface from host facts
The Proxmox Ubuntu clones are exposing their primary NIC as eth0, not ens18. Use ansible_default_ipv4.interface for k3s flannel and kube-vip so bootstrap tracks the actual interface name instead of a guessed template default.
This commit is contained in:
@@ -4,4 +4,4 @@ k3s_server_url: ""
|
||||
k3s_token: ""
|
||||
k3s_node_ip: ""
|
||||
k3s_kubelet_cloud_provider_external: false
|
||||
k3s_flannel_iface: ens18
|
||||
k3s_flannel_iface: "{{ ansible_default_ipv4.interface | default('eth0') }}"
|
||||
|
||||
Reference in New Issue
Block a user