vaguerent/templates/guests/slackware/network_static.erb
Seth Vargo 0bdf6f5ad4
guests/slackware: Configure networks in one command
This also switches to using new predictable naming for networks.
2016-06-06 11:58:40 -04:00

14 lines
275 B
Plaintext

#VAGRANT-BEGIN
# Config for eth<%= i %>
IPADDR[<%= i %>]="<%= options[:ip] %>"
NETMASK[<%= i %>]="<%= options[:ip] %>"
USE_DHCP[<%= i %>]=""
DHCP_HOSTNAME[<%= i %>]=""
<% if options[:gateway] -%>
GATEWAY="<%= options[:gateway] %>"
<% end -%>
DEBUG_ETH_UP="no"
#VAGRANT-END