File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -331,9 +331,10 @@ installBundleForDebianDistro() {
331331 debian_install_nginx
332332 debian_install_clickhouse
333333 debian_install_nim
334+ echo " security module installation opted : ${USE_SM_MODULE} "
334335 if [ " ${USE_SM_MODULE} " == " true" ]; then
335336 nim_major_version=$( nms-core --version | grep -oE ' [0-9]+\.[0-9]+\.[0-9]+' | awk -F. ' {print $1}' )
336- nim_minor_version=$( nms-core --version | grep -oE ' [0-9]+\.[0-9]+\.[0-9]+' | awk -F. ' {print $1 }' )
337+ nim_minor_version=$( nms-core --version | grep -oE ' [0-9]+\.[0-9]+\.[0-9]+' | awk -F. ' {print $2 }' )
337338 if [[ $nim_major_version -ge 2 && $nim_minor_version -ge 19 ]]; then
338339 echo " Note: NGINX Instance Manager version 2.19.0 or later comes with security monitoring installed. skipping installing security monitoring"
339340 else
You can’t perform that action at this time.
0 commit comments