'+' are being converted to ' ' at some point

This commit is contained in:
William Sellitti 2022-06-18 16:58:15 -04:00
parent 4e625c18dc
commit 149310e1ec
1 changed files with 1 additions and 1 deletions

View File

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