mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-08 15:31:45 +00:00
'+' are being converted to ' ' at some point
This commit is contained in:
parent
4e625c18dc
commit
149310e1ec
@ -106,7 +106,7 @@ proxmoxve_deploy(){
|
|||||||
# _psot function.
|
# _psot function.
|
||||||
_json_payload=$(cat << HEREDOC
|
_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')",
|
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')",
|
||||||
"node":"$_node_name",
|
"node":"$_node_name",
|
||||||
"restart":"1",
|
"restart":"1",
|
||||||
|
Loading…
Reference in New Issue
Block a user