From 49be094d51318b2abc4e488b67a67b4e65541735 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Sun, 12 Feb 2023 11:06:15 +0100 Subject: [PATCH] open3a: fix ip in finisherd message --- src/open3a/install-service.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/open3a/install-service.sh b/src/open3a/install-service.sh index f45cebd..dba2277 100644 --- a/src/open3a/install-service.sh +++ b/src/open3a/install-service.sh @@ -79,4 +79,6 @@ EOF systemctl enable --now php7.4-fpm systemctl restart php7.4-fpm nginx +LXC_IP=$(ip address show dev eth0 | grep "inet " | cut -d ' ' -f6) + 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"