From e3acc068a0f373f66e23a7b5573018ca414492b7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 1 Jul 2024 15:59:44 -0300 Subject: Minor cleanups --- files/etc/rc.local | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'files/etc') diff --git a/files/etc/rc.local b/files/etc/rc.local index 8d93e07..fd951eb 100644 --- a/files/etc/rc.local +++ b/files/etc/rc.local @@ -19,6 +19,11 @@ fi # Force the hostname /bin/hostname `cat /etc/hostname` +# Remove puppetd lock, then restart puppet with the right hostname +# Not using this anymore since we moved to a masterless setup. +#rm -f /var/lib/puppet/state/puppetdlock +#/etc/init.d/puppet restart + # Keep this mountpoint while ekeyd fact needs it if [ -d "/proc/bus/usb" ]; then /bin/mount -t usbfs usbfs /proc/bus/usb -onodev,noexec,nosuid -- cgit v1.2.3