Closed billglick closed 3 years ago
Only thing I did not address from @andylytical 's recommendations:
kernel_upgrade.sh line 96: the option --disableexcludes=all could be problematic if certain repos are supposed to be excluded (such as slurm, kubernetes, docker, etc.).
I think this is safe here because the updated packages are being limited to only those that start with kernel
. It is fairly common to exclude kernel packages in a yum config file (which this module is doing by default), so we need a way to allow this, which is why this script has to disable excludes when it upgrades the kernel package.
Only thing I did not address from @andylytical 's recommendations:
kernel_upgrade.sh line 96: the option --disableexcludes=all could be problematic if certain repos are supposed to be excluded (such as slurm, kubernetes, docker, etc.).
I think this is safe here because the updated packages are being limited to only those that start with
kernel
. It is fairly common to exclude kernel packages in a yum config file (which this module is doing by default), so we need a way to allow this, which is why this script has to disable excludes when it upgrades the kernel package.
Sounds good to me.
This is being tested in asd-pup-control repo with the following hosts: