Revert "seems like the escaped new lines aren't remaining escaped new lines with the new version of curl"

This reverts commit a5d5113be3.
This commit is contained in:
William Sellitti 2022-06-18 16:56:46 -04:00
parent a5d5113be3
commit 4e625c18dc

View File

@ -107,7 +107,7 @@ proxmoxve_deploy(){
_json_payload=$(cat << HEREDOC
{
"certificates": "$(tr '\n' ':' < "$_cfullchain" | sed 's/:/\\n/g')",
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\\n/g')",
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')",
"node":"$_node_name",
"restart":"1",
"force":"1"