Vagrantfile: use shortcuts for memory and CPU settings
Change-Id: I3c79821729f7f91372e896e3fd2a5e6ea98ab901
This commit is contained in:
parent
949674d594
commit
dbe60a1d6b
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue