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
6d640982
Commit
6d640982
authored
Jun 14, 2022
by
William Sellitti
Browse files
shell check war warning against unnecessary use of cat
parent
43511100
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/proxmoxve.sh
View file @
6d640982
...
...
@@ -93,8 +93,8 @@ proxmoxve_deploy(){
# posted to the webserver.
cat
<<
HEREDOC
> "
$_proxmoxve_temp_data_file
"
{
"certificates": "
$(
cat
"
$_cfullchain
"
|tr
'\n'
':'
|
sed
's/:/\\n/g'
)
",
"key": "
$(
cat
"
$_ckey
"
|tr
'\n'
':'
|sed
's/:/\\n/g'
)
",
"certificates": "
$(
tr
'\n'
':'
<
"
$_cfullchain
"
|
sed
's/:/\\n/g'
)
",
"key": "
$(
tr
'\n'
':'
<
"
$_ckey
"
|sed
's/:/\\n/g'
)
",
"node":"
$_node_name
",
"restart":"1",
"force":"1"
...
...
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