Explorar el Código

'+' are being converted to ' ' at some point

William Sellitti hace 3 años
padre
commit
149310e1ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deploy/proxmoxve.sh

+ 1 - 1
deploy/proxmoxve.sh

@@ -106,7 +106,7 @@ proxmoxve_deploy(){
   # _psot function.
   _json_payload=$(cat << HEREDOC
 {
-  "certificates": "$(tr '\n' ':' < "$_cfullchain" | sed 's/:/\\n/g')",
+  "certificates": "$(tr '\n' ':' < "$_cfullchain" | sed 's/:/\\n/g' -e 's/+/\+/g')",
   "key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')",
   "node":"$_node_name",
   "restart":"1",