mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
calamari_setup: hack for 1.3.0 on centos: install lttng from EPEL
lttng is not yet part of any private repo; since 1.3.0/CentOS is not a supported product, just grab it from EPEL for this test. Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
parent
ac8b0e1abf
commit
30dbe93125
@ -109,6 +109,11 @@ def fix_yum_repos(remote, distro):
|
||||
contain a repo file named rhel<version-number>.repo
|
||||
"""
|
||||
if distro.startswith('centos'):
|
||||
# hack alert: detour: install lttng for ceph
|
||||
# this works because epel is preinstalled on the vpms
|
||||
# this is not a generic solution
|
||||
# this is here solely to test the one-off 1.3.0 release for centos6
|
||||
remote.run(args="sudo yum -y install lttng-tools")
|
||||
cmds = [
|
||||
'sudo mkdir /etc/yum.repos.d.old'.split(),
|
||||
['sudo', 'cp', run.Raw('/etc/yum.repos.d/*'),
|
||||
|
Loading…
Reference in New Issue
Block a user