Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fce33e4b authored by DELABROYE Dimitri's avatar DELABROYE Dimitri
Browse files

[generators/wiki] complementary commit to PR #78

parent 8de2ba5a
Branches
No related tags found
No related merge requests found
......@@ -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');
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment