Created
April 7, 2013 03:10
-
-
Save cespare/5328739 to your computer and use it in GitHub Desktop.
My default minimal Vagrantfile. Better than the huge thing 'vagrant init' generates.
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
| Vagrant.configure("2") do |config| | |
| config.vm.box = "quantal64" | |
| config.vm.hostname = "give-this-a-name" | |
| config.vm.box_url = "http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-vagrant-amd64-disk1.box" | |
| config.vm.provision :shell, :inline => | |
| "sudo mkdir -p /root/.ssh && sudo cp /home/vagrant/.ssh/authorized_keys /root/.ssh/" | |
| # config.vm.network :forwarded_port, guest: 80, host: 8080 | |
| # config.vm.synced_folder "../data", "/vagrant_data" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment