1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-25 00:28:06 +00:00

Update npmplus-install.sh

This commit is contained in:
CanbiZ 2025-03-13 17:35:03 +01:00 committed by GitHub
parent 0dc526af08
commit c59c796774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,7 @@ msg_ok "Builded and started NPMplus"
motd_ssh
customize
msg_info "Retrieving Default Login (Patience)"
echo -e "Retrieving Default Login (Patience)"
for i in {1..60}; do
PASSWORD_LINE=$(docker logs "$CONTAINER_ID" 2>&1 | awk '/Creating a new user:/ {print; exit}')
if [[ -n "$PASSWORD_LINE" ]]; then
@ -103,5 +103,5 @@ for i in {1..60}; do
exit 0
fi
sleep 2
[[ $i -eq 60 ]] && msg_error "Failed to retrieve default login credentials." && exit 1
[[ $i -eq 60 ]] && echo -e "Failed to retrieve default login credentials." && exit 1
done