openflighthpc / flight-desktop

Manage interactive GUI desktop sessions
Eclipse Public License 2.0
0 stars 2 forks source link

Fix detecting the primary IP on azure #35

Closed WilliamMcCumstie closed 3 years ago

WilliamMcCumstie commented 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

benarmston commented 3 years ago

I've added a commit to work sensibly for Vagrant/VirtualBox. The azure IP getting looks good to me.