Commit 6f622d02 authored by Lucas Nussbaum's avatar Lucas Nussbaum

[dev/wiki] deal with missing network driver

parent 7d5ddf07
...@@ -227,7 +227,7 @@ def get_hardware(sites) ...@@ -227,7 +227,7 @@ def get_hardware(sites)
e['model'] = 'N/A' if e['model'] == 'N/A N/A' e['model'] = 'N/A' if e['model'] == 'N/A N/A'
s += 'model: '+ e['model'] + ', ' s += 'model: '+ e['model'] + ', '
end end
s += 'driver: ' + e['driver'] s += 'driver: ' + e['driver'] if e['driver']
s += ' - unavailable for experiment' if e['unavailable_for_experiment'] s += ' - unavailable for experiment' if e['unavailable_for_experiment']
s += ' - no KaVLAN' if e['no_kavlan'] s += ' - no KaVLAN' if e['no_kavlan']
s += e['unavailable_for_experiment'] ? '</span>' : '' s += e['unavailable_for_experiment'] ? '</span>' : ''
......
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