Closed WilliamMcCumstie closed 3 years ago
The existing method would only detect the primary IP if it is publicly accessible. In practice, this means it works for the head node but not compute nodes.
On compute nodes, it now falls back to finding an interface that can connect to 8.8.8.8
8.8.8.8
I've added a commit to work sensibly for Vagrant/VirtualBox. The azure IP getting looks good to me.
The existing method would only detect the primary IP if it is publicly accessible. In practice, this means it works for the head node but not compute nodes.
On compute nodes, it now falls back to finding an interface that can connect to
8.8.8.8