Created
August 1, 2018 14:52
-
-
Save garyachy/410724a6ec87d2dcaf7f86ff956fc379 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "puppetlabs/ubuntu-16.04-64-nocm" | |
config.vm.box_check_update = false | |
vmcpu=(ENV['VPP_VAGRANT_VMCPU'] || 2) | |
vmram=(ENV['VPP_VAGRANT_VMRAM'] || 4096) | |
config.ssh.forward_agent = true | |
config.vm.provider "virtualbox" do |vb| | |
vb.customize ["modifyvm", :id, "--ioapic", "on"] | |
vb.memory = "#{vmram}" | |
vb.cpus = "#{vmcpu}" | |
#support for the SSE4.x instruction is required in some versions of VB. | |
vb.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.1", "1"] | |
vb.customize ["setextradata", :id, "VBoxInternal/CPUM/SSE4.2", "1"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment