Fix Vagrantfile to not always use docker box

This commit is contained in:
Christoph Blecker 2016-10-14 13:23:23 -07:00
parent dfa8e53caa
commit 8ca6309b8b
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
1 changed files with 4 additions and 4 deletions

8
Vagrantfile vendored
View File

@ -53,6 +53,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision "shell", inline: $script, privileged: false
config.vm.synced_folder '.', '/opt/gopath/src/github.com/hashicorp/terraform'
config.vm.provider "docker" do |v, override|
override.vm.box = "tknerr/baseimage-ubuntu-14.04"
end
["vmware_fusion", "vmware_workstation"].each do |p|
config.vm.provider p do |v|
v.vmx["memsize"] = "4096"
@ -60,10 +64,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
end
config.vm.provider "docker" do
config.vm.box = "tknerr/baseimage-ubuntu-14.04"
end
config.vm.provider "virtualbox" do |v|
v.memory = 4096
v.cpus = 2