mirror of https://github.com/tteck/Proxmox.git
output creds
This commit is contained in:
parent
e0808e3b1d
commit
6bfeca9f57
|
@ -83,4 +83,8 @@ description
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${APP} should be reachable by going to the following URL.
|
echo -e "${APP} should be reachable by going to the following URL.
|
||||||
${BL}https://${IP}:443${CL} \n"
|
${BL}https://${IP}${CL} \n\n
|
||||||
|
Database Name: ${DB_NAME}
|
||||||
|
Database User: ${DB_USER}
|
||||||
|
Database Password: ${DB_PASS}
|
||||||
|
MySQL Root Password: ${ROOT_PASS}"
|
||||||
|
|
|
@ -45,6 +45,7 @@ $STD mysql -uroot -p$ROOT_PASS -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localh
|
||||||
$STD mysql -uroot -p$ROOT_PASS -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost.localdomain' IDENTIFIED BY '$DB_PASS';"
|
$STD mysql -uroot -p$ROOT_PASS -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost.localdomain' IDENTIFIED BY '$DB_PASS';"
|
||||||
$STD mysql -uroot -p$ROOT_PASS -e "FLUSH PRIVILEGES;"
|
$STD mysql -uroot -p$ROOT_PASS -e "FLUSH PRIVILEGES;"
|
||||||
echo "" >>~/nextcloud.creds
|
echo "" >>~/nextcloud.creds
|
||||||
|
echo -e "MySQL Root Password: \e[32m$ROOT_PASS\e[0m" >>~/nextcloud.creds
|
||||||
echo -e "Nextcloud Database User: \e[32m$DB_USER\e[0m" >>~/nextcloud.creds
|
echo -e "Nextcloud Database User: \e[32m$DB_USER\e[0m" >>~/nextcloud.creds
|
||||||
echo -e "Nextcloud Database Password: \e[32m$DB_PASS\e[0m" >>~/nextcloud.creds
|
echo -e "Nextcloud Database Password: \e[32m$DB_PASS\e[0m" >>~/nextcloud.creds
|
||||||
echo -e "Nextcloud Database Name: \e[32m$DB_NAME\e[0m" >>~/nextcloud.creds
|
echo -e "Nextcloud Database Name: \e[32m$DB_NAME\e[0m" >>~/nextcloud.creds
|
||||||
|
|
Loading…
Reference in New Issue