diff --git a/src/open3a/install-service.sh b/src/open3a/install-service.sh index cae28e0..399b001 100644 --- a/src/open3a/install-service.sh +++ b/src/open3a/install-service.sh @@ -8,7 +8,7 @@ source /root/functions.sh source /root/zamba.conf source /root/constants-service.conf - +LXC_IP=$(hostname -I) webroot=/var/www/html MYSQL_PASSWORD="$(random_password)" @@ -70,4 +70,12 @@ chmod +x /etc/cron.daily/open3a-backup systemctl enable --now php7.4-fpm systemctl restart php7.4-fpm nginx +cat << EOF >/var/www/html/system/DBData/Installation.pfdb.php + +EOF + echo -e "Your open3a installation is now complete. Please continue with setup in your Browser:\nURL:\t\thttp://$(echo $LXC_IP | cut -d'/' -f1)\nLogin:\t\tAdmin\nPassword:\tAdmin\n\nMysql-Settings:\nServer:\t\tlocalhost\nUser:\t\topen3a\nPassword:\t$MYSQL_PASSWORD\nDatabase:\topen3a"