Created
September 26, 2018 14:47
-
-
Save jdoss/fea9471cf40e5e6b25335677f0049663 to your computer and use it in GitHub Desktop.
An example libvirt Vagrantfile
This file contains hidden or 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.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