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 a8cf271e authored by MICHON Nicolas's avatar MICHON Nicolas

[dev] Allow sane default for kavlan if not specified

parent 4dd293ac
......@@ -271,7 +271,7 @@ global_hash["sites"].each do |site_uid, site|
end
end
# If kavlan entry is not defined here, set it node's kavlan description
network_adapter["kavlan"] ||= node["kavlan"].keys.include?(network_adapter["device"]) ? true : false
network_adapter["kavlan"] ||= node["kavlan"].keys.include?(network_adapter["device"]) ? true : false rescue false
network_adapter.delete("network_address") if network_adapter["network_address"] == 'none'
}
......
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