Merge "Reset yum configuration in post-install.d"

This commit is contained in:
Jenkins 2014-09-15 23:03:26 +00:00 committed by Gerrit Code Review
commit 93be491c46
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -eux
set -o pipefail
sudo sed -i 's/keepcache=1/keepcache=0/' /etc/yum.conf
sudo sed -i 's/cachedir=\/tmp\/yum/cachedir=\/var\/cache\/yum/' /etc/yum.conf