Vagrant.configure("2") do |config|
  config.vm.provider "virtualbox" do |vb|
    vb.cpus = 2
    vb.memory = 6144
    vb.customize ["modifyvm", :id, "--cpuexecutioncap", "80"]
  end

  config.vm.provider :libvirt do |domain|
    domain.cpus = 4
    domain.memory = 6144
  end

  config.vm.define ENV["VAGRANT_NAME"]
  config.vm.box = ENV["VAGRANT_BOX"]

  config.vm.provision "shell", privileged: false, inline: <<-SHELL
     cat /proc/cpuinfo
     free -m
  SHELL
end
