8175a7ef4d
When using the yum element, we should reset the changes we've made to /etc/yum.conf during post-install.d. Otherwise, this build time configuration is propagated into booted instances. Change-Id: I1eea586ca0fefe9bc0cf91fedefcbd141a536fa2
8 lines
172 B
Bash
Executable File
8 lines
172 B
Bash
Executable File
#!/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
|