Skip to content

Instantly share code, notes, and snippets.

@hotta
Last active September 2, 2021 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotta/fa57a786ebe38f91a34c09ac529adc0d to your computer and use it in GitHub Desktop.
Save hotta/fa57a786ebe38f91a34c09ac529adc0d to your computer and use it in GitHub Desktop.
Vagrant TIPS
# Tune resolver settings to prevent from yum slow down (for use in Japan)
config.vm.provision "shell", inline: <<-SHELL
sudo nmcli con mod "System eth0" ipv4.ignore-auto-dns Yes ipv4.dns 8.8.8.8
sudo systemctl restart NetworkManager
echo "include_only=.jp" | sudo tee -a /etc/yum/pluginconf.d/fastestmirror.conf
SHELL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment