|
|
@ -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')",
|
|
|
|