properly quoted variable names

This commit is contained in:
William Sellitti 2022-06-14 22:38:06 -04:00
parent 6652138d3e
commit 4351110082

View File

@ -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": "$(cat "$_cfullchain"|tr '\n' ':'|sed 's/:/\\n/g')",
"key": "$(cat "$_ckey"|tr '\n' ':'|sed 's/:/\\n/g')",
"node":"$_node_name",
"restart":"1",
"force":"1"