2021-06-19 10:43:56 +02:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.box = "fedora/33-cloud-base"
|
|
|
|
config.vm.synced_folder '.', '/vagrant', disabled: true
|
|
|
|
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
|
|
|
set -e -u -o pipefail
|
2021-08-24 01:50:28 +02:00
|
|
|
yum install -y git gcc docker systemd-devel dbus-devel
|
2021-06-19 10:43:56 +02:00
|
|
|
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
|
|
|
service docker start
|
|
|
|
SHELL
|
|
|
|
|
|
|
|
config.vm.provision "shell", privileged: false, inline: <<-SHELL
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
|
|
echo "export PATH=$PATH:$HOME/.cargo/bin" >> ~/.bashrc
|
|
|
|
|
|
|
|
git clone https://github.com/containers/youki
|
|
|
|
SHELL
|
|
|
|
end
|