Fix password escaping in JSON

This commit is contained in:
Inex Code 2022-04-06 19:55:19 +03:00
parent 0f779b5a1a
commit ecdac11cbe

View file

@ -50,8 +50,8 @@ makeConf() {
"hostname": "$HOSTNAME",
"nextcloud": {
"enable": true,
"adminPassword": "$ESCAPED_PASSWORD",
"databasePassword": "$ESCAPED_PASSWORD"
"adminPassword": $ESCAPED_PASSWORD,
"databasePassword": $ESCAPED_PASSWORD
},
"gitea": {
"enable": true
@ -66,7 +66,7 @@ makeConf() {
"enable": true
},
"timezone": "Europe/Uzhgorod",
"resticPassword": "$ESCAPED_PASSWORD",
"resticPassword": $ESCAPED_PASSWORD,
"username": "$LUSER"
}
EOF