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
3cc283cb
Commit
3cc283cb
authored
Jun 18, 2022
by
William Sellitti
Browse files
not generating files any more
parent
35cf98ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/proxmoxve.sh
View file @
3cc283cb
...
...
@@ -98,15 +98,6 @@ proxmoxve_deploy(){
_proxmoxve_header_api_token
=
"
${
_proxmoxve_user
}
@
${
_proxmoxve_user_realm
}
!
${
_proxmoxve_api_token_name
}
=
${
_proxmoxve_api_token_key
}
"
_debug2
"Auth Header"
_proxmoxve_header_api_token
# Generate the data file curl will pass as the data.
_proxmoxve_temp_data
=
"/tmp/proxmoxve_api/
$_cdomain
"
_proxmoxve_temp_data_file
=
"
$_proxmoxve_temp_data
/body.json"
# We delete this directory at the end of the script to avoid any conflicts.
if
[
!
-d
"
$_proxmoxve_temp_data
"
]
;
then
mkdir
-p
"
$_proxmoxve_temp_data
"
# Set to 700 since this file will contain the private key contents.
chmod
700
"
$_proxmoxve_temp_data
"
fi
# Ugly. I hate putting heredocs inside functions because heredocs don't
# account for whitespace correctly but it _does_ work and is several times
# cleaner than anything else I had here.
...
...
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