cloudron-setup: silent

This commit is contained in:
Girish Ramakrishnan
2022-05-03 10:20:19 -07:00
parent 7ceb307110
commit 5d1aaf6bc6
+1 -1
View File
@@ -211,7 +211,7 @@ mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('api
mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('web_server_origin', '${webServerOrigin}');" 2>/dev/null
if [[ -n "${appstoreSetupToken}" ]]; then
if ! setupResponse=$(curl -X POST -H "Content-type: application/json" --data "{\"setupToken\": \"${appstoreSetupToken}\"}" "${apiServerOrigin}/api/v1/cloudron_setup_done"); then
if ! setupResponse=$(curl -sX POST -H "Content-type: application/json" --data "{\"setupToken\": \"${appstoreSetupToken}\"}" "${apiServerOrigin}/api/v1/cloudron_setup_done"); then
echo "Could not complete setup. See ${LOG_FILE} for details"
exit 1
fi