Commit c9bd3048 authored by Lucas Nussbaum's avatar Lucas Nussbaum

[dev] Remove information about OS from nodes descriptions

parent 3058dda6
...@@ -16,6 +16,12 @@ Dir['input/grid5000/sites/*/clusters/*/nodes/*.yaml'].each do |f| ...@@ -16,6 +16,12 @@ Dir['input/grid5000/sites/*/clusters/*/nodes/*.yaml'].each do |f|
na.delete('rate') na.delete('rate')
end end
# remove information about OS, which is obsolete anyway
d.values.first['operating_system'].delete('kernel')
d.values.first['operating_system'].delete('name')
d.values.first['operating_system'].delete('version')
d.values.first['operating_system'].delete('release')
fd = File::new(f, 'w') fd = File::new(f, 'w')
fd.puts("# Generated by g5k-checks (g5k-checks -m api)") fd.puts("# Generated by g5k-checks (g5k-checks -m api)")
fd.puts d.to_yaml fd.puts d.to_yaml
......
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