Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ceph_deploy/hosts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get(hostname,
module.is_rpm = module.normalized_name in ['redhat', 'centos',
'fedora', 'scientific', 'suse', 'oracle', 'virtuozzo', 'alt']
module.is_deb = module.normalized_name in ['debian', 'ubuntu']
module.is_pkgtarxz = module.normalized_name in ['arch']
module.is_pkgtarxz = module.normalized_name in ['arch', 'endeavouros']
module.is_swupd = module.normalized_name in ['clear']
module.release = release
module.codename = codename
Expand Down Expand Up @@ -102,6 +102,7 @@ def _get_distro(distro, fallback=None, use_rhceph=False):
'suse': suse,
'virtuozzo': centos,
'arch': arch,
'endeavouros': arch,
'alt': alt,
'clear': clear
}
Expand All @@ -128,7 +129,7 @@ def _normalized_distro_name(distro):
return 'ubuntu'
elif distro.startswith('virtuozzo'):
return 'virtuozzo'
elif distro.startswith('arch'):
elif distro.startswith(('arch', 'endeavouros')):
return 'arch'
elif distro.startswith(('alt', 'altlinux', 'basealt', 'alt linux')):
return 'alt'
Expand Down
2 changes: 2 additions & 0 deletions ceph_deploy/hosts/remotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def platform_information(_linux_distribution=None):
codename = 'oracle'
if not codename and 'virtuozzo linux' in distro.lower(): # this could be an empty string in Virtuozzo linux
codename = 'virtuozzo'
if not codename and 'endeavouros' in distro.lower(): # this could be an empty string in Arch linux
codename = 'arch'
if not codename and 'arch' in distro.lower(): # this could be an empty string in Arch linux
codename = 'arch'

Expand Down