Created
September 13, 2014 17:45
-
-
Save salgo/0c771bad6001e84718d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dns_hack = <<SCRIPT | |
echo "; generated by /sbin/dhclient-script | |
search home | |
nameserver 8.8.8.8 | |
" > /etc/resolv.conf | |
SCRIPT | |
Vagrant.configure("2") do |config| | |
config.vm.provision "shell", inline: $dns_hack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment