vaguerent/templates/guests/fedora/network_static.erb
Seth Chisamore 7ed406629b static is not a valid BOOTPROTO value
Valid BOOTPROTO choices include: `none`, `bootp` and `dhcp`. In the case
of static network addresses `none` should be used.
2013-04-07 15:57:56 -04:00

14 lines
509 B
Plaintext

#VAGRANT-BEGIN
# The contents below are automatically generated by Vagrant. Do not modify.
NM_CONTROLLED=no
BOOTPROTO=none
ONBOOT=yes
IPADDR=<%= options[:ip] %>
NETMASK=<%= options[:netmask] %>
DEVICE=p7p<%= options[:interface] %>
<%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
<%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %>
<%= options[:dns1] ? "DNS1=#{options[:dns1]}" : 'DNS1=8.8.4.4' %>
<%= options[:dns2] ? "DNS2=#{options[:dns2]}" : 'DNS1=8.8.8.8' %>
#VAGRANT-END