Quote:
I was wondering if you could share the complete autoupdate script.
|
I wrote the script for the job to support Debian, Proxmox, and CentOS systems. We have a mix of bare metal and virtual systems but only about 18 total. Unlike a hosting company where there are hundreds or thousands of the same systems that could be updated with Ansible, each of our systems is unique. The script addresses those differences and has evolved for three years.
Although Slackware is not used at work, along the way I added Slackware to support myself at home. I'm lazy.
What I posted is the Slackware components of the script. So nothing more to post that is Slackware related.
Other than certain packages such as kernels, most of the time I run the script with the auto parameter (
system-update auto). I don't pretend that the code is the most efficient or elegant, but I've been using the script for more than a year at home. No hiccups ever.
I use GRUB on all of my systems except my Current VM where I use Lilo. That exception is because Lilo is the default boot loader. I only use the VM to help with some nominal upstream testing. Hence the Lilo section. Without that section I would forget to update lilo.conf almost every time.