Christian Pape 6 years ago
parent
commit
49a5dd97e5
  1. 2
      http/ks.cfg
  2. 27
      scripts/opennms.sh

2
http/ks.cfg

@ -2,7 +2,7 @@ install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname opennms.localdomain
rootpw --plaintext secret
firewall --enabled --service=ssh
authconfig --enableshadow --passalgo=sha512

27
scripts/opennms.sh

@ -75,3 +75,30 @@ systemctl start opennms
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
Loading…
Cancel
Save