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

[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| ...@@ -121,7 +121,8 @@ global_hash["sites"].each do |site_uid, site|
else else
# Secondary network_adapter(s) # 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") 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"]) switch, port = net_switch_port_lookup(site, node_uid, network_adapter["device"])
network_adapter["switch"] = switch if switch network_adapter["switch"] = switch if switch
network_adapter["switch_port"] = port if port network_adapter["switch_port"] = port if port
......
Supports Markdown
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