Parcourir la source

motd: Update interface filtering from motd

Sebastien Badia il y a 8 ans
Parent
commit
7f2f4f1950
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      templates/common/motd.erb

+ 1 - 1
templates/common/motd.erb

@@ -4,7 +4,7 @@
      cpu: <%= @physicalprocessorcount  %>/<%= @processorcount %> (<%= @processor0 %>)
   memory: <%if has_variable?("memorytotal") %><%= @memorytotal %><% else %><%= @memorysize %><% end %>
 <% @interfaces.split(',').each do |i| -%>
-<%- if i != "lo" and not i.start_with?('phy_br','int_br','qbr','tap','qvo','qvb','veth','tmp','he','sit','br267') %>
+<%- if i != "lo" and not i.start_with?('phy_br','int_br','qbr','tap','qvo','qvb','veth','tmp','he','sit','ib') %>
     <%= i -%>: <%= scope.lookupvar("macaddress_#{i}") -%><% if has_variable?("ipaddress_#{i}") -%> / <%= scope.lookupvar("ipaddress_#{i}") -%><% end -%><% if has_variable?("ipaddress6_#{i}") %> / <%= scope.lookupvar("ipaddress6_#{i}") -%><% end -%><% end -%>
 <% end %>