diff --git a/newSrv.sh b/newSrv.sh index 0937750..d2c79d6 100644 --- a/newSrv.sh +++ b/newSrv.sh @@ -91,7 +91,7 @@ echo "Completed running $FUNCNAME" if [[ ! -f /root/ntpserver ]]; then -curl --silent http://dl.knownelement.com/FetchApplyDistPoint/ntp.conf > /etc/ntp.conf +curl --silent https://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 pool.ntp.org && systemctl start ntp fi @@ -194,6 +194,8 @@ ngrep \ lsb-release \ screen \ tmux \ +vim \ +vim-solarized \ lldpd \ net-tools \ gpg \ @@ -212,17 +214,39 @@ tshark \ tcpdump \ lynis \ glances \ -qemu-guest-agent \ +virt-what \ zsh \ zsh-autosuggestions \ zsh-syntax-highlighting \ fonts-powerline \ webmin \ usermin \ +iotop \ +tuned \ cockpit \ telnet \ postfix +#Coming soon , virt guest tuning + +#export VIRT_TYPE +#VIRT_TYPE="$(virt-what)" + +#export VIRT_GUEST +#VIRT_GUEST="$(echo "$VIRT_TYPE"|egrep 'hyperv|' )" + +#export KVM_GUEST +#KVM_GUEST="$(echo "$VIRT_TYPE"|grep 'kvm' )" + +#if [ $VIRT_GUEST = 1 ]; then +# tuned-adm profile virtual-guest +#fi + +#if [ $KVM_GUEST = 1 ]; then +# apt -y install qemu-guest-agent +#fi + + #Coming very soon, 2fa for webmin/cockpit/ssh #libpam-google-authenticator diff --git a/ntp.conf b/ntp.conf index 47d7a12..10f3861 100644 --- a/ntp.conf +++ b/ntp.conf @@ -1,6 +1,5 @@ driftfile /var/lib/ntp/ntp.drift leapfile /usr/share/zoneinfo/leap-seconds.list -server 10.251.33.6 -server 10.251.33.7 +server pfv-netboot.taile3044.ts.net restrict 127.0.0.1 -restrict ::1 +restrict ::1 \ No newline at end of file