Vagrantfile: use criu from stable repo

CRIU 3.14 has made its way to the F32 stable repo, let's use it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2020-05-09 13:54:27 -07:00
parent 2c8d668eee
commit f0daf65100
1 changed files with 1 additions and 4 deletions

5
Vagrantfile vendored
View File

@ -13,17 +13,14 @@ Vagrant.configure("2") do |config|
v.cpus = 2 v.cpus = 2
end end
config.vm.provision "shell", inline: <<-SHELL config.vm.provision "shell", inline: <<-SHELL
curl -OSs https://kojipkgs.fedoraproject.org/packages/criu/3.14/1.fc32/x86_64/criu-3.14-1.fc32.x86_64.rpm
cat << EOF | dnf -y shell cat << EOF | dnf -y shell
config exclude kernel,kernel-core config exclude kernel,kernel-core
config install_weak_deps false config install_weak_deps false
localinstall criu-3.14-1.fc32.x86_64.rpm
update update
install iptables gcc make golang-go libseccomp-devel bats jq git-core install iptables gcc make golang-go libseccomp-devel bats jq git-core criu
ts run ts run
EOF EOF
dnf clean all dnf clean all
rm -f criu-3.14-1.fc32.x86_64.rpm
# Add a user for rootless tests # Add a user for rootless tests
useradd -u2000 -m -d/home/rootless -s/bin/bash rootless useradd -u2000 -m -d/home/rootless -s/bin/bash rootless