]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Adapt Vagrantbox to el8 35991/head
authorVolker Theile <vtheile@suse.com>
Thu, 9 Jul 2020 10:41:49 +0000 (12:41 +0200)
committerVolker Theile <vtheile@suse.com>
Thu, 9 Jul 2020 11:04:35 +0000 (13:04 +0200)
After el7 has been dropped with https://github.com/ceph/ceph/pull/35722 the Vagrantbox need to be adapted to el8.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/cephadm/Vagrantfile

index 5cb85f7aff45fdd88063c0428298eaf303f1db38..e613c4062414ea2ab129bf3086dda8784dc9d8c8 100644 (file)
@@ -5,7 +5,7 @@ NUM_DAEMONS = ENV["NUM_DAEMONS"] ? ENV["NUM_DAEMONS"].to_i : 1
 Vagrant.configure("2") do |config|
   config.vm.synced_folder ".", "/vagrant", disabled: true
   config.vm.network "private_network", type: "dhcp"
-  config.vm.box = "centos/7"
+  config.vm.box = "centos/8"
 
   (0..NUM_DAEMONS - 1).each do |i|
     config.vm.define "mon#{i}" do |mon|
@@ -31,9 +31,9 @@ Vagrant.configure("2") do |config|
 
   config.vm.provision "shell", inline: <<-SHELL
     sudo yum install -y yum-utils
-    sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+    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/7/repo/ | sudo tee /etc/yum.repos.d/shaman.repo
+    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 ceph
     sudo ln -s /usr/bin/python36 /usr/bin/python3 || true
   SHELL