mirror of
https://github.com/containers/youki
synced 2024-11-26 06:08:07 +01:00
fix vagrant errors
This commit is contained in:
parent
9f669d73c0
commit
d89382eb03
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -5,8 +5,13 @@ Vagrant.configure("2") do |config|
|
|||||||
config.vm.box = "fedora/33-cloud-base"
|
config.vm.box = "fedora/33-cloud-base"
|
||||||
config.vm.synced_folder '.', '/vagrant', disabled: true
|
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
|
config.vm.provision "shell", inline: <<-SHELL
|
||||||
set -e -u -o pipefail
|
set -e -u -o pipefail
|
||||||
|
yum update
|
||||||
yum install -y git gcc docker systemd-devel dbus-devel
|
yum install -y git gcc docker systemd-devel dbus-devel
|
||||||
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
||||||
service docker start
|
service docker start
|
||||||
|
Loading…
Reference in New Issue
Block a user