Commit dd1a4667 authored by BERARD Benjamin's avatar BERARD Benjamin Committed by RINGOT Patrice
Browse files

Remove only driver in wiki_generator

parent 3cab9b4f
......@@ -236,7 +236,6 @@ def get_hardware(sites)
'interface' => v['interface'],
'vendor' => v['vendor'],
'model' => v['model'],
'driver' => v['driver'],
'path' => v['by_path'] || v['by_id'],
'count' => node_hash['storage_devices'].count,
'reservation' => v['reservation'].nil? ? false : v['reservation']
......@@ -251,7 +250,7 @@ def get_hardware(sites)
e['interface'],
e['vendor'],
e['model'],
' (driver: ' + (e['driver'] || 'MISSING') + ', path: ' + (e['path'] || 'MISSING') + ')',
' (path: ' + (e['path'] || 'MISSING') + ')',
e['reservation'] ? '[[Disk_reservation|(reservable)]]' : '',
e['device'] == 'sda' ? '(primary disk)' : ''
].join(' ')
......
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