Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
b783a01dd3
@ -43,4 +43,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/openproject${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
|
||||||
|
|||||||
@ -139,7 +139,7 @@ $STD su - librenms -s /bin/bash -c "cd /opt/librenms && lnms user:add -p admin -
|
|||||||
RANDOM_STRING=$(openssl rand -base64 16 | tr -dc 'a-zA-Z0-9')
|
RANDOM_STRING=$(openssl rand -base64 16 | tr -dc 'a-zA-Z0-9')
|
||||||
sed -i "s/RANDOMSTRINGHERE/$RANDOM_STRING/g" /etc/snmp/snmpd.conf
|
sed -i "s/RANDOMSTRINGHERE/$RANDOM_STRING/g" /etc/snmp/snmpd.conf
|
||||||
echo "SNMP Community String: $RANDOM_STRING" >>~/librenms.creds
|
echo "SNMP Community String: $RANDOM_STRING" >>~/librenms.creds
|
||||||
curl -qo /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro
|
curl -qso /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro
|
||||||
chmod +x /usr/bin/distro
|
chmod +x /usr/bin/distro
|
||||||
systemctl enable -q --now snmpd
|
systemctl enable -q --now snmpd
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user