ensure static network changes don't update DNS
`PEERDNS=no` ensures the DNS settings (from /etc/resolv.conf) are not overwritten when we do an ifdown/ifup cycle to apply Vagrant's changes.
This commit is contained in:
parent
c34c8b39c3
commit
b89e593070
|
@ -4,4 +4,5 @@ BOOTPROTO=static
|
|||
IPADDR=<%= options[:ip] %>
|
||||
NETMASK=<%= options[:netmask] %>
|
||||
DEVICE=eth<%= options[:interface] %>
|
||||
PEERDNS=no
|
||||
#VAGRANT-END
|
||||
|
|
Loading…
Reference in New Issue