aboutsummaryrefslogtreecommitdiff
path: root/docker/ceph/ceph-nfs
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ceph/ceph-nfs')
-rw-r--r--docker/ceph/ceph-nfs/Dockerfile.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/ceph/ceph-nfs/Dockerfile.j2 b/docker/ceph/ceph-nfs/Dockerfile.j2
index 1ed1c5fe8..9ace5de52 100644
--- a/docker/ceph/ceph-nfs/Dockerfile.j2
+++ b/docker/ceph/ceph-nfs/Dockerfile.j2
@@ -5,13 +5,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
-{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
+{% if base_package_type == 'rpm' %}
{% set ceph_nfs_packages = [
'nfs-ganesha',
'nfs-ganesha-ceph'
] %}
-{% elif base_distro in ['debian', 'ubuntu'] %}
+{% elif base_package_type == 'deb' %}
{% set ceph_nfs_packages = [
'nfs-ganesha',
'nfs-ganesha-ceph'