Skip to content

Instantly share code, notes, and snippets.

@jdoss
Created September 26, 2018 14:47
Show Gist options
  • Save jdoss/fea9471cf40e5e6b25335677f0049663 to your computer and use it in GitHub Desktop.
Save jdoss/fea9471cf40e5e6b25335677f0049663 to your computer and use it in GitHub Desktop.
An example libvirt Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.ssh.forward_agent = true
config.vm.define "fedora" do |fedora|
fedora.vm.box = "fedora/28-cloud-base"
fedora.vm.hostname = "f28.example.com"
fedora.vm.provider "libvirt" do |vm|
vm.memory = 2048
vm.cpus = 1
vm.driver = "kvm"
vm.nic_model_type = "e1000"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment