From 41190e740df792345b05c43e39bc0765124df0c3 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 18 Jan 2016 12:44:12 +0100 Subject: [PATCH] vagrant: Add box configuration for vmware --- Vagrantfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index afcc7c520..134f67ab7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -36,12 +36,19 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| p.cpus = 2 end - config.vm.provider :virtualbox do |v, override| + config.vm.provider :vmware_workstation do |v, override| + override.vm.box = "bento/centos-7.1" + + v.vmx["memsize"] = "1024" + v.vmx["numvcpus"] = "1" + end + + config.vm.provider :virtualbox do |vb, override| override.vm.box = "centos-71-x64-vbox" override.vm.box_url = "http://boxes.icinga.org/centos-71-x64-vbox.box" - v.customize ["modifyvm", :id, "--memory", "1024"] - v.customize ["modifyvm", :id, "--cpus", "2"] + vb.customize ["modifyvm", :id, "--memory", "1024"] + vb.customize ["modifyvm", :id, "--cpus", "2"] end config.vm.provision :puppet do |puppet|