Update certs.inc

This commit is contained in:
2023-11-13 09:58:43 -06:00
parent 1423e73248
commit f8ca646bba

View File

@@ -401,7 +401,7 @@ LISTCERTS(){
fi
else
if [ "${NM_NODEMANAGER}" != "$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)" ]; then
ssh root@${NM_NODEMANAGER} sed -i "/${SUBJECT}/d" ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1
run=$(ssh root@${NM_NODEMANAGER} sed -i "/${SUBJECT}/d" ${NM_FOLDER}/conf/ssl-domain-checks.conf) >/dev/null 2&>1
fi
# sed -i "/${SUBJECT}/d" ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1
fi