mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 09:35:20 +00:00
vagrant configure vmware_desktop (#5179)
This commit is contained in:
parent
b44110aaaa
commit
7611adb1f6
13
Vagrantfile
vendored
13
Vagrantfile
vendored
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user