Update proxmoxve.sh

This commit is contained in:
neil 2022-06-23 14:08:24 +08:00 committed by GitHub
parent 799f509ba9
commit 668894fc4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -111,7 +111,8 @@ proxmoxve_deploy(){
#
# This dumps the json payload to a variable that should be passable to the
# _psot function.
_json_payload=$(cat << HEREDOC
_json_payload=$(
cat << HEREDOC
{
"certificates": "$(tr '\n' ':' < "$_cfullchain" | sed 's/:/\\n/g')",
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')",