Last active
September 2, 2021 04:36
-
-
Save hotta/fa57a786ebe38f91a34c09ac529adc0d to your computer and use it in GitHub Desktop.
Vagrant TIPS
This file contains hidden or 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
# 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