Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :

Commit 6f9d530d authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[dev] Simplified postprocessing

parent edce9994
......@@ -32,15 +32,12 @@ list_of_yaml_files.each { |filename|
hash["storage_devices"] = hash.delete("block_devices")
hash["storage_devices"] = hash["storage_devices"].sort_by_array(["sda", "sdb", "sdc", "sdd", "sde"])
hash["storage_devices"].each {|k, v| v.delete("device") }
hash["network_adapters"] = hash.delete("network_interfaces")
hash["network_adapters"] = hash["network_adapters"].sort_by_array(["eth0", "eth1", "eth2", "eth3", "eth4", "eth5", "eth6", "ib0", "ib1", "ib2", "ib3", "bmc"])
hash["chassis"]["name"] = hash["chassis"].delete("product_name")
hash["chassis"]["serial"] = hash["chassis"].delete("serial_number")
hash['operating_system']['cstate_max_id'] = nil unless hash['operating_system']['cstate_max_id']
hash = {node_uid => hash}
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