mirror of
https://github.com/ceph/ceph
synced 2025-02-19 17:08:05 +00:00
Fix RHEL/centos ceph-deploy installs.
Use a hiphen as a diliminator instead of a dot. Signed-off-by: Sandon Van Ness <sandon@inktank.com>
This commit is contained in:
parent
e1cd49bd45
commit
00c2ac5b2c
@ -205,7 +205,7 @@ def _update_rpm_package_list_and_install(ctx, remote, rpm, config):
|
||||
dloc = tmp_vers.rfind('-')
|
||||
t_vers1 = tmp_vers[0:dloc]
|
||||
t_vers2 = tmp_vers[dloc+1:]
|
||||
trailer = "-{tv1}.{tv2}.{dist_release}".format(tv1=t_vers1, tv2=t_vers2, dist_release=dist_release)
|
||||
trailer = "-{tv1}-{tv2}.{dist_release}".format(tv1=t_vers1, tv2=t_vers2, dist_release=dist_release)
|
||||
for cpack in rpm:
|
||||
pk_err_mess = StringIO()
|
||||
pkg2add = "{cpack}{trailer}".format(cpack=cpack,trailer=trailer)
|
||||
|
Loading…
Reference in New Issue
Block a user