From 9d79396b7b1681044e05e2cf4fd6ad05669dd138 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 7 May 2025 15:27:28 +0200 Subject: [PATCH 1/2] Librenms --- install/librenms-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/librenms-install.sh b/install/librenms-install.sh index 163fd5a..7dc2677 100644 --- a/install/librenms-install.sh +++ b/install/librenms-install.sh @@ -74,9 +74,9 @@ setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstra $STD pip3 install -r /opt/librenms/requirements.txt -sed -i "s/^#DB_DATABASE=.*/DB_DATABASE=${DB_NAME}/" .env -sed -i "s/^#DB_USERNAME=.*/DB_USERNAME=${DB_USER}/" .env -sed -i "s/^#DB_PASSWORD=.*/DB_PASSWORD=${DB_PASS}/" .env +sed -i "s/^#DB_DATABASE=.*/DB_DATABASE=${DB_NAME}/" /opt/librenms/.env +sed -i "s/^#DB_USERNAME=.*/DB_USERNAME=${DB_USER}/" /opt/librenms/.env +sed -i "s/^#DB_PASSWORD=.*/DB_PASSWORD=${DB_PASS}/" /opt/librenms/.env msg_ok "Setup Librenms" From 738c631fe643244e30f81469cc39b73b03d8d1d2 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 7 May 2025 15:34:26 +0200 Subject: [PATCH 2/2] Test msg in core.func --- misc/install.func | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/install.func b/misc/install.func index 1c5b3be..232d638 100644 --- a/misc/install.func +++ b/misc/install.func @@ -6,6 +6,7 @@ # https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE if ! command -v curl >/dev/null 2>&1; then + printf "\r\e[2K%b" '\033[93m Installing Curl \033[m' >&2 apt-get update >/dev/null 2>&1 apt-get install -y curl >/dev/null 2>&1 fi