Is there an option or can i set some alias in a way that i run yum update however in the background it fires yum update -y --security on RHEL ?
Issue
We have an environment with redhat 6.4 servers in it and the client doesnot need to update its version. However, we have to patch the servers as per monthly patching policy as agreed with the client.
- Using subscription manager is not our case.
- Version lock also not supported
- Another Solution that we can try is excluding the redhat-release package from being updated by excluding it under
/etc/yum.conf. But not sure if thats a good idea. - we finally tried
yum update -y --securitywhich could be a good solution in this case.
Now my question is ..
Is there an option or can i set some alias in a way that i run yum update however in the background it fires yum update -y --security ?
Environment
- Red Hat Enterprise Linux
- yum
- yum-cron
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
