rke2 provider set 1st interface ip address as availableServerIP
Issue detected when deploying a rke2 workload cluster using capm3 on bmh with several interfaces. After the RKE2ControlPlane node is deployed we can see in the corresponding rke2controlplanes.controlplane.cluster.x-k8s.io ressource the following status: status: availableServerIPs: - fe80::459d:7625:b21b:c53d%ens3f1
where ens3f1 is the first interface listed on the BMH ressource. this interface is down (no link and not used). It seems that the RKE2 Provider use the the first available interface
We have tried to setup the advertiseAddress in the RKE2ControlPlane/serverConfig but with no success
as a result when adding a worker the /etc/rancher/rke2/config.yaml is setup with server parameter set to a wrong address and the worker is not properly able to join the cluster