From b89e593070b3f36d7b65739773348bfbc378a6c1 Mon Sep 17 00:00:00 2001 From: Seth Chisamore Date: Sun, 7 Apr 2013 15:47:21 -0400 Subject: [PATCH] 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. --- templates/guests/redhat/network_static.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/guests/redhat/network_static.erb b/templates/guests/redhat/network_static.erb index acff23abc..1e3baa57f 100644 --- a/templates/guests/redhat/network_static.erb +++ b/templates/guests/redhat/network_static.erb @@ -4,4 +4,5 @@ BOOTPROTO=static IPADDR=<%= options[:ip] %> NETMASK=<%= options[:netmask] %> DEVICE=eth<%= options[:interface] %> +PEERDNS=no #VAGRANT-END