From ecec279029a8a507483bc54ace3dca7f623f3fb7 Mon Sep 17 00:00:00 2001 From: Jeff Shaw Date: Tue, 5 Apr 2016 10:23:17 -0700 Subject: vagrant: libvirt configuration. Configure the proxy, vcpu, and memory parameters for the libvirt provider. Change-Id: Id662e60f76b4b424d3a5d98929a44ef2587ef258 Signed-off-by: Jeff Shaw --- build-root/vagrant/Vagrantfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'build-root/vagrant/Vagrantfile') diff --git a/build-root/vagrant/Vagrantfile b/build-root/vagrant/Vagrantfile index 1f6a3b9c00d..6e42bf272ca 100644 --- a/build-root/vagrant/Vagrantfile +++ b/build-root/vagrant/Vagrantfile @@ -49,8 +49,8 @@ Vagrant.configure(2) do |config| # use http proxy if avaiable if ENV['http_proxy'] && Vagrant.has_plugin?("vagrant-proxyconf") - config.proxy.http = "$http_proxy" - config.proxy.https = "$https_proxy" + config.proxy.http = ENV['http_proxy'] + config.proxy.https = ENV['https_proxy'] config.proxy.no_proxy = "localhost,127.0.0.1" end @@ -61,6 +61,10 @@ Vagrant.configure(2) do |config| config.vm.provider "vmware_fusion" do |fusion,override| fusion.vmx["memsize"] = "4096" end + config.vm.provider "libvirt" do |lv| + lv.memory = 4096 + lv.cpus = 8 + end config.vm.provider "vmware_workstation" do |vws,override| vws.vmx["memsize"] = "8192" vws.vmx["numvcpus"] = "4" -- cgit 1.2.3-korg