such legacy hop ons... fixed!
This commit is contained in:
@ -72,7 +72,7 @@ echo "Completed running $FUNCNAME"
|
|||||||
if [[ ! -f /root/ntpserver ]]; then
|
if [[ ! -f /root/ntpserver ]]; then
|
||||||
curl --silent http://dl.knownelement.com/FetchApplyDistPoint/ntp.conf > /etc/ntp.conf
|
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
|
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
|
fi
|
||||||
|
|
||||||
function global-systemServiceConfigurationFiles()
|
function global-systemServiceConfigurationFiles()
|
||||||
@ -104,7 +104,7 @@ if [ ! -d $LOCALUSER_SSH_DIR ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d $SUBODEV_SSH_DIR ]; then
|
if [ ! -d $SUBODEV_SSH_DIR ]; then
|
||||||
if [ ! -d /home/localuser]; then
|
if [ ! -d /home/localuser ]; then
|
||||||
mkdir /home/subodev/.ssh/
|
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
|
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
|
chmod 400 /home/subodev/.ssh/authorized_keys
|
||||||
|
@ -14,7 +14,7 @@ rocommunity kn3lmgmt
|
|||||||
sysservices 76
|
sysservices 76
|
||||||
|
|
||||||
#syslocation Rack, Room, Building, City, Country [Lat, Lon]
|
#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
|
syscontact coo@turnsys.com
|
||||||
|
|
||||||
#NTP
|
#NTP
|
||||||
@ -25,7 +25,7 @@ extend mailq /usr/local/librenms/postfix-queues
|
|||||||
extend postfixdetailed /usr/local/librenms/postfixdetailed
|
extend postfixdetailed /usr/local/librenms/postfixdetailed
|
||||||
|
|
||||||
#OS Distribution Detection
|
#OS Distribution Detection
|
||||||
extend distro /usr/local/librenms/distro
|
extend distro /usr/local/bin/distro
|
||||||
extend osupdate /usr/local/librenms/os-updates.sh
|
extend osupdate /usr/local/librenms/os-updates.sh
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user