Merge "Reset yum configuration in post-install.d"
This commit is contained in:
commit
93be491c46
1 changed files with 7 additions and 0 deletions
7
elements/yum/post-install.d/99-reset-yum-conf
Executable file
7
elements/yum/post-install.d/99-reset-yum-conf
Executable 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
|
Loading…
Reference in a new issue