neil
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
5 deletions
-
deploy/proxmoxve.sh
|
@ -111,7 +111,8 @@ proxmoxve_deploy(){ |
|
|
# |
|
|
# |
|
|
# This dumps the json payload to a variable that should be passable to the |
|
|
# This dumps the json payload to a variable that should be passable to the |
|
|
# _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')", |
|
|
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')", |
|
|
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')", |
|
|