diff --git a/ceph-releases/ALL/__QAT_ACCELERATION__ b/ceph-releases/ALL/__QAT_ACCELERATION__ new file mode 100644 index 000000000..426d49355 --- /dev/null +++ b/ceph-releases/ALL/__QAT_ACCELERATION__ @@ -0,0 +1,2 @@ +echo '@ceph - memlock 204800' >> /etc/security/limits.conf && \ + echo '@root - memlock 204800' >> /etc/security/limits.conf && \ diff --git a/ceph-releases/pacific/__QAT_ACCELERATION__ b/ceph-releases/pacific/__QAT_ACCELERATION__ new file mode 100644 index 000000000..e69de29bb diff --git a/ceph-releases/quincy/__QAT_ACCELERATION__ b/ceph-releases/quincy/__QAT_ACCELERATION__ new file mode 100644 index 000000000..e69de29bb diff --git a/src/daemon-base/Dockerfile b/src/daemon-base/Dockerfile index 9b72f842e..3c6965f4d 100644 --- a/src/daemon-base/Dockerfile +++ b/src/daemon-base/Dockerfile @@ -31,6 +31,7 @@ RUN \ # Typical workflow: add new repos; refresh repos; install packages; package-manager clean; # download and install packages from web, cleaning any files as you go. # Installs should support install of ganesha for luminous + __QAT_ACCELERATION__ __DOCKERFILE_INSTALL__ && \ # Clean container, starting with record of current size (strip / from end) INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" && \