Commit 7b37cc6c authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[dev] bind.rb: mic support

parent 6fe180c9
...@@ -118,6 +118,11 @@ refapi["sites"].each { |site_uid, site| ...@@ -118,6 +118,11 @@ refapi["sites"].each { |site_uid, site|
network_adapters[net_uid] = {"ip" => ip, "mounted" => nil} network_adapters[net_uid] = {"ip" => ip, "mounted" => nil}
} if node['kavlan'] } if node['kavlan']
# Mic
if node['mic'] && node['mic']['ip']
network_adapters['mic0'] = {"ip" => node['mic']['ip']}
end
# Group ip ranges # Group ip ranges
network_adapters.each { |net_uid, net_hash| network_adapters.each { |net_uid, net_hash|
next unless net_hash['ip'] next unless net_hash['ip']
......
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