From 022871e9d7d4ae0fb0e4ce267c34dbd720b46379 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Sat, 11 Feb 2023 16:21:29 +0100 Subject: [PATCH] kimai: fix ip output in finished message --- src/kimai/install-service.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kimai/install-service.sh b/src/kimai/install-service.sh index 91ff0ea..c07e4ed 100644 --- a/src/kimai/install-service.sh +++ b/src/kimai/install-service.sh @@ -162,4 +162,6 @@ systemctl daemon-reload systemctl enable --now php${PHP_VERSION}-fpm nginx systemctl restart php${PHP_VERSION}-fpm nginx +LXC_IP=$(ip address show dev eth0 | grep "inet " | cut -d ' ' -f6) + echo -e "Your kimai installation is now complete. Please continue with setup in your Browser.\nURL:\t\thttp://$(echo ${LXC_IP} | cut -d'/' -f1)\nLogin:\t\tadmin@${LXC_DOMAIN}\nPassword:\t${LXC_PWD}\n\n"