vagrant configure vmware_desktop (#5179)

This commit is contained in:
Giorgi Guliashvili 2018-09-07 15:40:25 +01:00 committed by GitHub
parent b44110aaaa
commit 7611adb1f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
Vagrantfile vendored
View File

@ -134,7 +134,18 @@ Vagrant.configure("2") do |config|
v.memory = 4096
end
end
config.vm.provider "vmware_desktop" do |v|
if ENV['OSQUERY_BUILD_CPUS']
v.cpus = ENV['OSQUERY_BUILD_CPUS'].to_i
else
v.cpus = 2
end
if ENV['OSQUERY_BUILD_MEMORY']
v.memory = ENV['OSQUERY_BUILD_MEMORY'].to_i
else
v.memory = 4096
end
end
config.vm.provider :aws do |aws, override|
# Required. Credentials for AWS API.
aws.access_key_id = ENV['AWS_ACCESS_KEY_ID']