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

detect through DNS autodiscovery.
This commit is contained in:
Ariel O. Barria authored and Alexander Bokovoy committed 2020-03-21 07:40:34 +02:00
1 parent 681f8ae5a4
commit 2f9c9c8757
1 file changed
+1 -1
Vendored
+1 -1
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|