1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-29 14:23:09 +00:00

Update checkmk-install.sh

This commit is contained in:
CanbiZ 2024-12-20 12:53:57 +01:00 committed by GitHub
parent 45c1a73eda
commit 2892762a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,12 +29,11 @@ echo "${RELEASE}" >"/opt/checkmk_version.txt"
msg_ok "Installed Checkmk" msg_ok "Installed Checkmk"
msg_info "Creating Service" msg_info "Creating Service"
PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}') $STD omd start
$STD omd start &>/dev/null
{ {
echo "Application-Credentials" echo "Application-Credentials"
echo "Username: cmkadmin" echo "Username: cmkadmin"
echo "Password: $PASSWORD" echo "Password: cmkadmin"
} >> ~/checkmk.creds } >> ~/checkmk.creds
msg_ok "Created Service" msg_ok "Created Service"