|
|
@ -76,30 +76,29 @@ systemctl enable opennms |
|
|
|
|
|
|
|
firewall-cmd --zone=public --permanent --add-port=8980/tcp |
|
|
|
|
|
|
|
cat <<EOF > /etc/issue |
|
|
|
____ _ _ __ __ _____ |
|
|
|
/ __ \ | \ | | \/ |/ ____| |
|
|
|
| | | |_ __ ___ _ __ | \| | \ / | (___ |
|
|
|
| | | | '_ \ / _ \ '_ \| . ` | |\/| |\___ \ |
|
|
|
| |__| | |_) | __/ | | | |\ | | | |____) | |
|
|
|
\____/| .__/ \___|_| |_|_| \_|_| |_|_____/ |
|
|
|
| | |
|
|
|
|_| |
|
|
|
|
|
|
|
***** Host ***** |
|
|
|
IP address: \4 |
|
|
|
Credentials: root / secret |
|
|
|
|
|
|
|
***** OpenNMS ***** |
|
|
|
URL: http://\4:8980/opennms |
|
|
|
credentials: admin / admin |
|
|
|
|
|
|
|
***** Grafana ***** |
|
|
|
URL: http://\4:3000 |
|
|
|
credentials: admin / admin |
|
|
|
|
|
|
|
\S |
|
|
|
Kernel \r on an \m |
|
|
|
|
|
|
|
EOF |
|
|
|
echo " ____ _ _ __ __ _____ " > /etc/issue |
|
|
|
echo " / __ \ | \ | | \/ |/ ____| " >> /etc/issue |
|
|
|
echo " | | | |_ __ ___ _ __ | \| | \ / | (___ " >> /etc/issue |
|
|
|
echo " | | | | '_ \ / _ \ '_ \| . ' | |\/| |\___ \ " >> /etc/issue |
|
|
|
echo " | |__| | |_) | __/ | | | |\ | | | |____) | " >> /etc/issue |
|
|
|
echo " \____/| .__/ \___|_| |_|_| \_|_| |_|_____/ " >> /etc/issue |
|
|
|
echo " | | " >> /etc/issue |
|
|
|
echo " |_| " >> /etc/issue |
|
|
|
echo "" >> /etc/issue |
|
|
|
echo "******* Host access ********" >> /etc/issue |
|
|
|
echo "IP address: \4" >> /etc/issue |
|
|
|
echo "Credentials: root / secret" >> /etc/issue |
|
|
|
echo "" >> /etc/issue |
|
|
|
echo "****** OpenNMS access ******" >> /etc/issue |
|
|
|
echo "URL: http://\4:8980/opennms" >> /etc/issue |
|
|
|
echo "Credentials: admin / admin" >> /etc/issue |
|
|
|
echo "" >> /etc/issue |
|
|
|
echo "****** Grafana access ******" >> /etc/issue |
|
|
|
echo "URL: http://\4:3000" >> /etc/issue |
|
|
|
echo "Credentials: admin / admin" >> /etc/issue |
|
|
|
echo "" >> /etc/issue |
|
|
|
echo "\S" >> /etc/issue |
|
|
|
echo "Kernel \r on an \m" >> /etc/issue |
|
|
|
echo "" >> /etc/issue |
|
|
|
|
|
|
|
|