Vagrantfile: use shortcuts for memory and CPU settings

Change-Id: I3c79821729f7f91372e896e3fd2a5e6ea98ab901
This commit is contained in:
Christian Berendt 2015-09-20 19:15:50 +02:00
parent 949674d594
commit dbe60a1d6b
1 changed files with 2 additions and 2 deletions

4
Vagrantfile vendored
View File

@ -16,8 +16,8 @@
Vagrant.configure(2) do |config| Vagrant.configure(2) do |config|
config.vm.box = 'ubuntu/trusty64' config.vm.box = 'ubuntu/trusty64'
config.vm.provider 'virtualbox' do |vb| config.vm.provider 'virtualbox' do |vb|
vb.customize ['modifyvm', :id, '--memory', '1024'] vb.memory = 1024
vb.customize ['modifyvm', :id, '--cpus', '1'] vb.cpus = 1
end end
config.ssh.shell = 'bash -c "BASH_ENV=/etc/profile exec bash"' config.ssh.shell = 'bash -c "BASH_ENV=/etc/profile exec bash"'
config.cache.scope = :box if Vagrant.has_plugin?('vagrant-cachier') config.cache.scope = :box if Vagrant.has_plugin?('vagrant-cachier')