mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
seems like the escaped new lines aren't remaining escaped new lines with the new version of curl
This commit is contained in:
parent
7900c493af
commit
a5d5113be3
@ -107,7 +107,7 @@ proxmoxve_deploy(){
|
|||||||
_json_payload=$(cat << HEREDOC
|
_json_payload=$(cat << HEREDOC
|
||||||
{
|
{
|
||||||
"certificates": "$(tr '\n' ':' < "$_cfullchain" | sed 's/:/\\n/g')",
|
"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",
|
"node":"$_node_name",
|
||||||
"restart":"1",
|
"restart":"1",
|
||||||
"force":"1"
|
"force":"1"
|
||||||
|
Loading…
Reference in New Issue
Block a user