Update certs.inc
This commit is contained in:
@@ -394,7 +394,7 @@ LISTCERTS(){
|
||||
checkcerts_sorted=$(sort <<< "$(cat ${NM_FOLDER}/conf/ssl-domain-checks.conf)")
|
||||
if [ "${NM_NODEMANAGER}" != "$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)" ]; then
|
||||
ssh root@${NM_NODEMANAGER} "rm -f ${NM_FOLDER}/conf/ssl-domain-checks.conf" >/dev/null 2&>1
|
||||
run=$(ssh root@${NM_NODEMANAGER} echo "${checkcerts_sorted}" > ${NM_FOLDER}/conf/ssl-domain-checks.conf) >/dev/null 2&>1
|
||||
ssh root@${NM_NODEMANAGER} 'echo "${checkcerts_sorted}" > ${NM_FOLDER}/conf/ssl-domain-checks.conf'
|
||||
fi
|
||||
# rm -f ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1
|
||||
# echo "${checkcerts_sorted}" > ${NM_FOLDER}/conf/ssl-domain-checks.conf >/dev/null 2&>1
|
||||
|
||||
Reference in New Issue
Block a user