Skip to content

Commit 38a6d00

Browse files
committed
handle credentials
1 parent 4b7a3cd commit 38a6d00

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

frontend/public/json/icinga.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"type": "info"
3838
},
3939
{
40-
"text": "Default user: icingaadmin (password is shown after install)",
40+
"text": "Show password: `cat ~/icinga.creds`",
4141
"type": "info"
4242
},
4343
{

install/icinga-install.sh

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -753,14 +753,11 @@ icingacli module enable apocalypse > /dev/null || { msg_error "Failed to enable
753753
chown www-data:icingaweb2 /etc/icingaweb2/modules/* || { msg_error "Failed to set permissions on modules"; exit 1; }
754754
msg_ok "Added some extra themes"
755755

756-
757-
echo "--- Database credentials ---"
758-
echo "Director DB name: director"
759-
echo "Director user: director"
760-
echo "Director password: $DIRECTOR_DB_PW"
761-
echo "--- Web credentials ---"
762-
echo "Icingaweb initial user: $ICINGAWEB_ADMIN_USER"
763-
echo "Icingaweb initial password: $ICINGAWEB_ADMIN_PW"
756+
{
757+
echo "Icingweb2-Credentials"
758+
echo "Username: $ICINGAWEB_ADMIN_USER"
759+
echo "Password: $ICINGAWEB_ADMIN_PW"
760+
} >>~/icinga.creds
764761

765762
msg_ok "Configured Icinga"
766763

0 commit comments

Comments
 (0)