Created
May 17, 2016 08:19
-
-
Save carlessanagustin/4ed5067e88fed69ce19e22db6d7b4dbd to your computer and use it in GitHub Desktop.
Minimal Vagrantfile for ubuntu/trusty64 (14.04 LTS)
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.provider "virtualbox" | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = 512 | |
vb.cpus = 1 | |
vb.gui = false | |
end | |
config.vm.boot_timeout = 60 | |
config.vm.define "minimal" do |minimal| | |
minimal.vm.host_name = "minimal" | |
minimal.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true | |
minimal.vm.network "private_network", ip: "192.168.32.10" | |
# minimal.vm.network "public_network", auto_config: true, virtualbox__intnet: true, bridge: "en0: Wi-Fi (AirPort)" | |
minimal.vm.provision "shell", inline: "apt-get update && apt-get -y upgrade" | |
# minimal.vm.provision :shell, :path => "bootstrap.sh" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment