]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Switch to 'centos/stream8' box. 46284/head
authorVolker Theile <vtheile@suse.com>
Wed, 22 Jun 2022 14:05:12 +0000 (16:05 +0200)
committerVolker Theile <vtheile@suse.com>
Wed, 31 Aug 2022 09:57:47 +0000 (11:57 +0200)
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 <vtheile@suse.com>
src/pybind/mgr/cephadm/Vagrantfile

index 0c3280bf0152bf6275a580b665b93a3c65d53e1b..a19a7aaa48937622835f7d1bf124e946fa8cafa8 100644 (file)
@@ -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