Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 4d39381b authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[dev] Hack for grimoire (see #6757) + added ib0 ips on input files

parent 4299bf6d
......@@ -121,7 +121,8 @@ global_hash["sites"].each do |site_uid, site|
else
# Secondary network_adapter(s)
network_adapter["network_address"] = "#{node_uid}-#{network_adapter["device"]}.#{site_uid}.grid5000.fr" if network_adapter["enabled"] && network_adapter["mountable"] && !network_adapter.key?("network_address")
if network_adapter["mountable"]
if network_adapter["mountable"] || cluster_uid == 'grimoire'
# || cluster_uid == 'grimoire' is a temporary hack. See #6757
switch, port = net_switch_port_lookup(site, node_uid, network_adapter["device"])
network_adapter["switch"] = switch if switch
network_adapter["switch_port"] = port if port
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment