Skip to content

Instantly share code, notes, and snippets.

@proelbtn
Created September 13, 2020 09:49
Show Gist options
  • Save proelbtn/23b56904446962a0f06f723e8ebe8c29 to your computer and use it in GitHub Desktop.
Save proelbtn/23b56904446962a0f06f723e8ebe8c29 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.provider "libvirt" do |libvirt|
libvirt.uri = "qemu:///system"
end
config.vm.define "server" do |config|
config.vm.box = "generic/ubuntu1804"
config.vm.network "private_network", ip: "192.0.2.2", auto_config: false
config.vm.provider "libvirt" do |libvirt|
libvirt.cpus = 16
libvirt.memory = 16384
libvirt.nested = true
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment