From bb93cd7ee25db49bcf18774fa29b65766f9a9858 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Mon, 23 Jun 2025 14:30:47 -0500 Subject: [PATCH] dhclient fix (so it doesn't overwrite tailscale dns server) and migrating profile customizations to zshrc --- dhclient.conf | 6 ++++++ newSrv.sh | 1 + profiled-tsys-shell.sh | 4 +--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dhclient.conf b/dhclient.conf index e69de29..0378ca3 100644 --- a/dhclient.conf +++ b/dhclient.conf @@ -0,0 +1,6 @@ +option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; + +send host-name = gethostname(); +request subnet-mask, broadcast-address, time-offset, routers, + domain-name, host-name, + rfc3442-classless-static-routes; diff --git a/newSrv.sh b/newSrv.sh index 95a3041..b0760dd 100644 --- a/newSrv.sh +++ b/newSrv.sh @@ -243,6 +243,7 @@ fi ###Post package deployment bits curl --silent https://dl.knownelement.com/FetchApplyDistPoint/ntp.conf > /etc/ntp.conf +curl --silent https://dl.knownelement.com/FetchApplyDistPoint/dhclient.conf > /etc/dhcp/dhclient.conf curl --silent https://dl.knownelement.com/FetchApplyDistPoint/snmp-sudo.conf > /etc/sudoers.d/Debian-snmp systemctl stop snmpd && /etc/init.d/snmpd stop diff --git a/profiled-tsys-shell.sh b/profiled-tsys-shell.sh index d61f6ad..8197f0a 100644 --- a/profiled-tsys-shell.sh +++ b/profiled-tsys-shell.sh @@ -1,3 +1 @@ -set -o vi -export HISTTIMEFORMAT="%m/%d/%Y %T " - +export HISTTIMEFORMAT="%m/%d/%Y %T " \ No newline at end of file