such legacy hop ons... fixed!

This commit is contained in:
2025-06-14 07:49:09 -05:00
parent 8d097ebfeb
commit 00344fccf7
2 changed files with 4 additions and 4 deletions

View File

@ -72,7 +72,7 @@ echo "Completed running $FUNCNAME"
if [[ ! -f /root/ntpserver ]]; then
curl --silent http://dl.knownelement.com/FetchApplyDistPoint/ntp.conf > /etc/ntp.conf
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install ntp ntpdate
systemctl stop ntp && ntpdate pfv-dc-02.turnsys.net && systemctl start ntp
systemctl stop ntp && ntpdate pool.ntp.org && systemctl start ntp
fi
function global-systemServiceConfigurationFiles()
@ -104,7 +104,7 @@ if [ ! -d $LOCALUSER_SSH_DIR ]; then
fi
if [ ! -d $SUBODEV_SSH_DIR ]; then
if [ ! -d /home/localuser]; then
if [ ! -d /home/localuser ]; then
mkdir /home/subodev/.ssh/
curl --silent http://dl.knownelement.com/FetchApplyDistPoint/ssh-authorized-keys> /home/subodev/.ssh/authorized_keys && chmod 400 /home/subodev/.ssh/authorized_keys
chmod 400 /home/subodev/.ssh/authorized_keys

View File

@ -14,7 +14,7 @@ rocommunity kn3lmgmt
sysservices 76
#syslocation Rack, Room, Building, City, Country [Lat, Lon]
syslocation R5, Prod Center, HQ, Pflugervile, Unite States
syslocation ServerRoom, Prod Center, HQ, Pflugerville, United States
syscontact coo@turnsys.com
#NTP
@ -25,7 +25,7 @@ extend mailq /usr/local/librenms/postfix-queues
extend postfixdetailed /usr/local/librenms/postfixdetailed
#OS Distribution Detection
extend distro /usr/local/librenms/distro
extend distro /usr/local/bin/distro
extend osupdate /usr/local/librenms/os-updates.sh