Using cephadm install commands on Mariner will result in an error
"Distro not supported" though the packages are supported and can be
installed manually. This patch adds mariner as a supported distro.
Fix validated on mariner.
Signed-off-by: Roaa Sakr <romoh@microsoft.com>
'rocky': ('centos', 'el'),
'almalinux': ('centos', 'el'),
'fedora': ('fedora', 'fc'),
+ 'mariner': ('mariner', 'cm'),
}
def __init__(self, ctx: CephadmContext,
if (self.distro_code == 'fc' and self.major >= 30) or \
(self.distro_code == 'el' and self.major >= 8):
self.tool = 'dnf'
+ elif (self.distro_code == 'cm'):
+ self.tool = 'tdnf'
else:
self.tool = 'yum'