Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
a5d5113b
Commit
a5d5113b
authored
Jun 18, 2022
by
William Sellitti
Browse files
seems like the escaped new lines aren't remaining escaped new lines with the new version of curl
parent
7900c493
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/proxmoxve.sh
View file @
a5d5113b
...
...
@@ -107,7 +107,7 @@ proxmoxve_deploy(){
_json_payload
=
$(
cat
<<
HEREDOC
{
"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
",
"restart":"1",
"force":"1"
...
...
@@ -115,7 +115,7 @@ proxmoxve_deploy(){
HEREDOC
)
_debug2 Payload
"
$_json_payload
"
# Push certificates to server.
export
_HTTPS_INSECURE
=
1
export
_H1
=
"Authorization: PVEAPIToken=
${
_proxmoxve_header_api_token
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment