diff --git a/inc/certs.inc b/inc/certs.inc index aaaeb458..eeef7796 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -395,8 +395,8 @@ LISTCERTS(){ echo "${NM_NODEMANAGER} - $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)" if [ "${NM_NODEMANAGER}" != "$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | head -n1)" ]; then echo "HERE: CHANGING on MYSQL" - ssh root@${NM_NODEMANAGER} rm -f ${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 #>/dev/null 2&>1 + ssh root@${NM_NODEMANAGER} "rm -f ${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" #>/dev/null 2&>1 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