検証時などで、/etc/hostsを書き換えてないブラウザと、書き換えたブラウザが同時に欲しくなったとき用
# Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| # https://atlas.hashicorp.com/centos/boxes/7 config.vm.box = "centos/7" # 適宜修正する config.vm.network "private_network", ip: "192.168.33.21" config.vm.network "public_network", bridge: "en1: Wi-Fi (AirPort)" config.vm.provider "virtualbox" do |vb| vb.gui = true vb.memory = "1024" end config.vm.provision "shell", inline: <<-SHELL sudo yum -y --nogpgcheck groupinstall "GNOME Desktop" "Japanese Support" sudo systemctl set-default graphical.target sudo yum -y install firefox sudo reboot SHELL end