Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit fce33e4b authored by DELABROYE Dimitri's avatar DELABROYE Dimitri
Browse files

[generators/wiki] complementary commit to PR #78

parent 8de2ba5a
......@@ -71,7 +71,8 @@ class G5KHardwareGenerator < WikiGenerator
interfaces = node_hash['network_adapters'].select{ |k, v|
v['enabled'] and
(v['mounted'] or v['mountable']) and
not v['management']
not v['management'] and
(k =~ /\./).nil? # exclude PKEY / VLAN interfaces see #9417
}.map{ |k, v|
[
{
......@@ -91,7 +92,8 @@ class G5KHardwareGenerator < WikiGenerator
interfaces = node_hash['network_adapters'].select{ |k, v|
v['enabled'] and
(v['mounted'] or v['mountable']) and
not v['management']
not v['management'] and
(k =~ /\./).nil? # exclude PKEY / VLAN interfaces see #9417
}.map{ |k, v|
t = (v['vendor'] || 'N/A') + ' ' + (v['model'] || 'N/A');
[
......
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