fuel-library/deployment/puppet/l23network/templates/ipconfig_RedHat_ifup-script.erb
Sergey Vasilenko 8b68888bd5 add some minor fixes to the L23 module.
Closes-Bug: #1310655
Change-Id: Ic8fd53e3040577e0ea466767690ce72a39fb45fa
2014-04-22 07:04:45 +00:00

13 lines
295 B
Plaintext

#!/bin/sh
<%- if @ipaddr_aliases -%>
<%- @ipaddr_aliases.each do |addr| -%>
ip addr add <%= addr %> dev <%= @interface %>
<%- end -%>
<%- end -%>
<%- if @ethtool_lines -%>
<%- @ethtool_lines.each do |key,line| -%>
ethtool <%= key %> <%= @interface %> <%= line %>
<%- end -%>
<%- end -%>
true