Upgrade vagrant config to use Ubuntu 14.04

This uses the sputnik13/trusty64 image rather then the official
ubuntu/trusty64 image in order to get libvirt provider support as
wall as virtualbox provider support.
This commit is contained in:
Tom Hughes 2015-05-31 14:53:02 +01:00
parent 835eff6346
commit 0546ebb7b0
2 changed files with 3 additions and 13 deletions

6
Vagrantfile vendored
View file

@ -2,8 +2,7 @@
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.box = "sputnik13/trusty64"
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.enable :apt
@ -14,7 +13,8 @@ Vagrant.configure("2") do |config|
config.vm.network :forwarded_port, :guest => 3000, :host => 3000
# set up synced folder to source in /srv/openstreetmap-website
config.vm.synced_folder ".", "/srv/openstreetmap-website"
config.vm.synced_folder ".", "/srv/openstreetmap-website",
:rsync__exclude => ["config/application.yml", "config/database.yml"]
# provision using a simple shell script
config.vm.provision :shell, :path => "script/vagrant/setup/provision.sh"