diff --git a/README.md b/README.md index e03e223..730debe 100644 --- a/README.md +++ b/README.md @@ -97,14 +97,14 @@ get up and running with the [`setup-vagrant-dev-box`](setup-vagrant-dev-box) script. Feel free to use it :) ``` -cp Vagrantfile.dev Vagrantfile +cp Vagrantfile.dev.1.0 Vagrantfile ./setup-vagrant-dev-box vagrant ssh ``` *NOTE: `setup-vagrant-dev-box` takes around 10 minutes on a 15mb connection -after the [base vagrant box](Vagrantfile.dev#L5) and ubuntu [lxc cloud img](setup-vagrant-dev-box#L15-L16) -have been downloaded* +after the [base vagrant box](Vagrantfile.dev.1.0#L5) and ubuntu [lxc cloud +img](setup-vagrant-dev-box#L15-L16) have been downloaded* ## Protip diff --git a/Vagrantfile.dev b/Vagrantfile.dev.1.0 similarity index 68% rename from Vagrantfile.dev rename to Vagrantfile.dev.1.0 index cf5d1b2..f024d2a 100644 --- a/Vagrantfile.dev +++ b/Vagrantfile.dev.1.0 @@ -1,10 +1,19 @@ # -*- mode: ruby -*- # vi: set ft=ruby : +if Vagrant::VERSION =~ /^1\.1/ + raise 'This Vagrantfile is meant to be used with Vagrant 1.0' +end + Vagrant::Config.run do |config| config.vm.box = "quantal64" config.vm.box_url = "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box" + if defined? VagrantVbguest::Config + config.vbguest.auto_update = false + config.vbguest.no_remote = true + end + config.vm.network :hostonly, "192.168.33.10" config.vm.customize [ "modifyvm", :id,