Browse Source

Fix deploy proxmoxve using HTTPS_INSECURE corrently

pull/4858/head
Oliver Hartl 2 years ago
committed by GitHub
parent
commit
2f87f9a1ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      deploy/proxmoxve.sh

4
deploy/proxmoxve.sh

@ -110,7 +110,7 @@ proxmoxve_deploy() {
# cleaner than anything else I had here.
#
# This dumps the json payload to a variable that should be passable to the
# _psot function.
# _post function.
_json_payload=$(
cat <<HEREDOC
{
@ -125,7 +125,7 @@ HEREDOC
_debug2 Payload "$_json_payload"
# Push certificates to server.
export _HTTPS_INSECURE=1
export HTTPS_INSECURE=1
export _H1="Authorization: PVEAPIToken=${_proxmoxve_header_api_token}"
_post "$_json_payload" "$_target_url" "" POST "application/json"

Loading…
Cancel
Save