SV-279633r1192521_rule
V-279633
SRG-OS-000437-GPOS-00194
NXAC-OS-000212
CAT II
10
Configure Yum settings to remove all software components after an updated version is installed.
1. Configure AOS Yum settings using the following command.
$ sudo salt-call state.sls security/CVM/yumCVM
2. Configure Prism Central Yum settings using the following command.
$ sudo salt-call state.sls security/PCVM/yumPCVM
3. Configure Files Yum settings using the following command.
$ sudo salt-call state.sls security/AFS/yumAFS
4. Configure AHV Yum settings using the following command.
$ sudo salt-call state.sls security/KVM/yumKVM
Verify Nutanix OS removes all software components after updated versions have been installed using the following command.
$ sudo grep -i clean_requirements_on_remove /etc/yum.conf
clean_requirements_on_remove=1
If "clean_requirements_on_remove" is not set to "1", "True", or "yes", or is not set in "/etc/yum.conf", this is a finding.
V-279633
False
NXAC-OS-000212
Verify Nutanix OS removes all software components after updated versions have been installed using the following command.
$ sudo grep -i clean_requirements_on_remove /etc/yum.conf
clean_requirements_on_remove=1
If "clean_requirements_on_remove" is not set to "1", "True", or "yes", or is not set in "/etc/yum.conf", this is a finding.
M
5730