-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2261 from AkihiroSuda/vagrant-kvm
vagrant: switch from VirtualBox to KVM + increase HW resources
- Loading branch information
Showing
2 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
# Fedora 31 box is used for testing cgroup v2 support | ||
config.vm.box = "fedora/31-cloud-base" | ||
config.vm.provider :virtualbox do |v| | ||
v.memory = 2048 | ||
v.cpus = 2 | ||
end | ||
config.vm.provider :libvirt do |v| | ||
v.memory = 2048 | ||
v.cpus = 2 | ||
end | ||
config.vm.provision "shell", inline: <<-SHELL | ||
dnf install -y podman | ||
SHELL | ||
end |