SHARE
TWEET

Untitled

a guest Oct 23rd, 2012 85 Never
  1. {% macro net_param(param, value) -%}
  2.   {% if value -%}
  3.   {{ param }} {{ value }}
  4.   {%- endif %}
  5. {%- endmacro %}
  6.  
  7. auto {{ net_if }}
  8. iface {{ net_if }} inet static
  9.   address {{ net_ip }}
  10.   netmask {{ net_mask }}
  11.   network {{ net_addr }}
  12.   {{ net_param('gateway', net_gw) }}
  13.   {{ net_param('broadcast', net_bcast) }}
  14. # end
RAW Paste Data
Top