diff --git a/utils/cleanup_vm.sh b/utils/cleanup_vm.sh index 12c36f2..4832fe3 100644 --- a/utils/cleanup_vm.sh +++ b/utils/cleanup_vm.sh @@ -32,4 +32,7 @@ done # Clean pgsql data dir (rpm -q postgresql | grep -q el6) && /bin/rm -rf /var/lib/pgsql/ +# Keep yum cache +sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf + ## EOF