vagrant user does not have permission to write to /etc/resolv.conf

detect through DNS autodiscovery.
This commit is contained in:
Ariel O. Barria 2016-05-17 19:27:48 -05:00 committed by Alexander Bokovoy
parent 681f8ae5a4
commit 2f9c9c8757

2
Vagrantfile vendored
View File

@ -34,7 +34,7 @@ Vagrant.configure(2) do |config|
replica.vm.hostname = "replica.ipademo.local"
replica.vm.provision "shell",
inline: 'echo "nameserver 192.168.33.10" > /etc/resolv.conf'
inline: 'sudo echo "nameserver 192.168.33.10" > /etc/resolv.conf'
end
config.vm.define "client" do |client|