1
0
mirror of https://github.com/containers/youki synced 2024-11-26 06:08:07 +01:00

fix vagrant errors

This commit is contained in:
zido 2021-09-23 15:11:01 +08:00
parent 9f669d73c0
commit d89382eb03

5
Vagrantfile vendored

@ -5,8 +5,13 @@ Vagrant.configure("2") do |config|
config.vm.box = "fedora/33-cloud-base"
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.provision "shell", inline: <<-SHELL
set -e -u -o pipefail
yum update
yum install -y git gcc docker systemd-devel dbus-devel
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
service docker start