Merge "contrib/vagrant: fix env vars type conversion"

This commit is contained in:
Jenkins 2016-06-28 11:33:15 +00:00 committed by Gerrit Code Review
commit e4f3584419

View File

@ -2,8 +2,8 @@ VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
VM_MEMORY = ENV.fetch('VAGRANT_KURYR_VM_MEMORY', 6144)
VM_CPUS = ENV.fetch('VAGRANT_KURYR_VM_CPUS', 2)
VM_MEMORY = ENV.fetch('VAGRANT_KURYR_VM_MEMORY', 6144).to_i
VM_CPUS = ENV.fetch('VAGRANT_KURYR_VM_CPUS', 2).to_i
RUN_DEVSTACK = ENV.fetch('VAGRANT_KURYR_RUN_DEVSTACK', 'true')
config.vm.hostname = 'devstack'