Last active
January 20, 2016 21:04
-
-
Save gjohnson/8e96bcb978c6dae157f6 to your computer and use it in GitHub Desktop.
My base vagrant file
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
required_plugins = %w( vagrant-faster vagrant-cachier vagrant-vbguest ) | |
required_plugins.each do |plugin| | |
system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin | |
end | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/vivid64" | |
config.vm.box_check_update = true | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.synced_folder ".", "/vagrant" | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo apt-get update | |
sudo apt-get autoremove | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment