Merge pull request #2393 from kolyshkin/criu-pi

Vagrantfile: use criu from stable repo
This commit is contained in:
Mrunal Patel
2020-05-12 17:48:34 -07:00
committed by GitHub
Vendored
+1 -4
View File
@@ -13,17 +13,14 @@ Vagrant.configure("2") do |config|
v.cpus = 2
end
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
config exclude kernel,kernel-core
config install_weak_deps false
localinstall criu-3.14-1.fc32.x86_64.rpm
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
EOF
dnf clean all
rm -f criu-3.14-1.fc32.x86_64.rpm
# Add a user for rootless tests
useradd -u2000 -m -d/home/rootless -s/bin/bash rootless