diff --git a/README.md b/README.md index bcd0302e..9debadc2 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,15 @@ It is currently under active development and has not yet had a formal release. ## Supported Operating Systems -☑︎ CentOS 9.Stream should work out of the box +☑︎ RHEL 8+ and derivatives (CentOS Stream, AlmaLinux, Rocky Linux) -☑︎ CentOS 8.Stream mostly works - but has not yet passed a Ceph test +☑︎ Fedora 36+ -☐ A recent Fedora should work but has not been tested +☑︎ Ubuntu 24.04+ - actively tested in CI -☒ Ubuntu does not currently ship a new enough podman +☑︎ Debian 12+ "Bookworm" -☒ MacOS will require special effort to support since podman operations are done inside a VM +☑︎ macOS - supported via the podman machine VM ## Requirements @@ -192,4 +192,4 @@ ceph-devstack -v start ```bash ceph-devstack wait teuthology podman logs -f teuthology -``` \ No newline at end of file +``` diff --git a/ceph_devstack/requirements.py b/ceph_devstack/requirements.py index 1291dbea..b556bde2 100644 --- a/ceph_devstack/requirements.py +++ b/ceph_devstack/requirements.py @@ -231,7 +231,7 @@ def fix_cmd(self): class FuseOverlayfsPresence(FixableRequirement): - check_cmd = ["command", "-v", "fuse-overlayfs"] + check_cmd = ["sh", "-c", "command -v fuse-overlayfs"] suggest_msg = "Could not find fuse-overlayfs" fix_cmd = ["sudo", "dnf", "install", "-y", "fuse-overlayfs"] diff --git a/tests/test_requirements_core.py b/tests/test_requirements_core.py index 0d1a325a..4ef3fe9f 100644 --- a/tests/test_requirements_core.py +++ b/tests/test_requirements_core.py @@ -258,7 +258,7 @@ def cls(self): return requirements.FuseOverlayfsPresence def test_fuse_overlayfs_presence_check_cmd(self, req): - assert req.check_cmd == ["command", "-v", "fuse-overlayfs"] + assert req.check_cmd == ["sh", "-c", "command -v fuse-overlayfs"] def test_fuse_overlayfs_presence_fix_cmd(self, req): assert req.fix_cmd == ["sudo", "dnf", "install", "-y", "fuse-overlayfs"]