mirror of https://github.com/status-im/consul.git
Adding 32bit box to Vagrantfile
This commit is contained in:
parent
3e100a29c9
commit
99c532d655
|
@ -32,7 +32,6 @@ sudo apt-get install -y git-core
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
|
||||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
config.vm.box = "precise64"
|
|
||||||
config.vm.provision "shell", inline: $script
|
config.vm.provision "shell", inline: $script
|
||||||
|
|
||||||
["vmware_fusion", "vmware_workstation"].each do |p|
|
["vmware_fusion", "vmware_workstation"].each do |p|
|
||||||
|
@ -42,4 +41,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
v.vmx["cpuid.coresPerSocket"] = "1"
|
v.vmx["cpuid.coresPerSocket"] = "1"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.define "default" do |n1|
|
||||||
|
n1.vm.box = "hashicorp/precise64"
|
||||||
|
end
|
||||||
|
config.vm.define "32bit" do |n2|
|
||||||
|
n2.vm.box = "chef/ubuntu-12.04-i386"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue