From dbe60a1d6b541502bc80d8550036765b016f0e93 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Sun, 20 Sep 2015 19:15:50 +0200 Subject: [PATCH] Vagrantfile: use shortcuts for memory and CPU settings Change-Id: I3c79821729f7f91372e896e3fd2a5e6ea98ab901 --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ad45f29..a3872e0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -16,8 +16,8 @@ Vagrant.configure(2) do |config| config.vm.box = 'ubuntu/trusty64' config.vm.provider 'virtualbox' do |vb| - vb.customize ['modifyvm', :id, '--memory', '1024'] - vb.customize ['modifyvm', :id, '--cpus', '1'] + vb.memory = 1024 + vb.cpus = 1 end config.ssh.shell = 'bash -c "BASH_ENV=/etc/profile exec bash"' config.cache.scope = :box if Vagrant.has_plugin?('vagrant-cachier')