mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Update checkmk-install.sh
This commit is contained in:
parent
2892762a80
commit
8e1644ab6e
@ -28,18 +28,19 @@ $STD apt-get install -y /opt/checkmk.deb
|
||||
echo "${RELEASE}" >"/opt/checkmk_version.txt"
|
||||
msg_ok "Installed Checkmk"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Creating Service"
|
||||
PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}')
|
||||
$STD omd start
|
||||
{
|
||||
echo "Application-Credentials"
|
||||
echo "Username: cmkadmin"
|
||||
echo "Password: cmkadmin"
|
||||
echo "Password: $PASSWORD"
|
||||
} >> ~/checkmk.creds
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
rm -rf /opt/checkmk.deb
|
||||
$STD apt-get -y autoremove
|
||||
|
Loading…
Reference in New Issue
Block a user