From: Volker Theile Date: Wed, 22 Jun 2022 14:05:12 +0000 (+0200) Subject: Switch to 'centos/stream8' box. X-Git-Tag: v18.1.0~1083^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eb69983bc1a4f0028beb101c999ba95b18b1c991;p=ceph.git Switch to 'centos/stream8' box. Adapt URL to Ceph repo. Need to install the additional packages: cephadm - libseccomp-devel (to prevent the 'podman: symbol lookup error: podman: undefined symbol: seccomp_notify_fd' error) Signed-off-by: Volker Theile --- diff --git a/src/pybind/mgr/cephadm/Vagrantfile b/src/pybind/mgr/cephadm/Vagrantfile index 0c3280bf015..a19a7aaa489 100644 --- a/src/pybind/mgr/cephadm/Vagrantfile +++ b/src/pybind/mgr/cephadm/Vagrantfile @@ -26,7 +26,7 @@ DISKS = getConfig('DISKS', 2) Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.network "private_network", type: "dhcp" - config.vm.box = "centos/8" + config.vm.box = "centos/stream8" (0..MONS - 1).each do |i| config.vm.define "mon#{i}" do |mon| @@ -57,12 +57,10 @@ Vagrant.configure("2") do |config| SHELL config.vm.provision "shell", inline: <<-SHELL - sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* - sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* sudo yum install -y yum-utils sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo rpm --import 'https://download.ceph.com/keys/release.asc' - curl -L https://shaman.ceph.com/api/repos/ceph/master/latest/centos/8/repo/ | sudo tee /etc/yum.repos.d/shaman.repo - sudo yum install -y python36 podman + curl -L https://shaman.ceph.com/api/repos/ceph/main/latest/centos/8/repo/ | sudo tee /etc/yum.repos.d/shaman.repo + sudo yum install -y python36 podman cephadm libseccomp-devel SHELL end