From c127a0928e18cf67840c5ab6bced8c4328150b7c Mon Sep 17 00:00:00 2001 From: Duncan Hill Date: Sun, 5 Jan 2025 16:31:28 +0000 Subject: [PATCH] Fix path to sysctl file --- misc/build.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/build.func b/misc/build.func index 5581a981..fa38a02c 100644 --- a/misc/build.func +++ b/misc/build.func @@ -166,7 +166,7 @@ maxkeys_check() { if [ "${used_lxc_keys}" -gt "${threshold_keys}" ]; then msg_error "Kernel key limits problem (count) detected." echo -e "${CROSS}${RD} Your PVE node is close to the key limit of $per_user_maxkeys; this will cause problems when starting containers." - echo -e "${CROSS}${RD} Add or update /etc/sysctl/conf.d/98-community-scripts.conf, setting ${GN}kernel.keys.maxkeys=${new_limit_keys}${CL}" + echo -e "${CROSS}${RD} Add or update /etc/sysctl.d/98-community-scripts.conf, setting ${GN}kernel.keys.maxkeys=${new_limit_keys}${CL}" echo failure=1 fi @@ -174,7 +174,7 @@ maxkeys_check() { if [ "${used_lxc_bytes}" -gt "${threshold_bytes}" ]; then msg_error "Kernel key limits problem (bytes) detected." echo -e "${CROSS}${RD} Your PVE node is close to the key bytes limit of $per_user_maxbytes; this will cause problems when starting containers." - echo -e "${CROSS}${RD} Add or update /etc/sysctl/conf.d/98-community-scripts.conf, setting ${GN}kernel.keys.maxbytes=${new_limit_bytes}${CL}" + echo -e "${CROSS}${RD} Add or update /etc/sysctl.d/98-community-scripts.conf, setting ${GN}kernel.keys.maxbytes=${new_limit_bytes}${CL}" echo failure=1 fi