summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-11-27 17:40:09 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-27 17:40:09 +0000
commitb3c31c56f1d3b79bfdb87766eaf14433efb206e9 (patch)
treefca6197f769e403b2892fc96e7974f91033633e7
parent7d1c6d7b46a17b46e6fafde942bb45dedeaea2dc (diff)
parent1fd4b57f67071ac50995ebf6f38a64c9634a9c10 (diff)
Merge "Fix bad yum cache during repo update"
-rw-r--r--apex/builders/undercloud_builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/apex/builders/undercloud_builder.py b/apex/builders/undercloud_builder.py
index ec75f3d..d9e2333 100644
--- a/apex/builders/undercloud_builder.py
+++ b/apex/builders/undercloud_builder.py
@@ -70,6 +70,7 @@ def update_repos(image, branch):
{con.VIRT_RUN_CMD: "yum-config-manager --add-repo "
"https://trunk.rdoproject.org/centos7/{}"
"/delorean.repo".format(con.RDO_TAG)},
+ {con.VIRT_RUN_CMD: "yum clean all"},
{con.VIRT_INSTALL: "python2-tripleo-repos"},
{con.VIRT_RUN_CMD: "tripleo-repos -b {} {} ceph".format(branch,
con.RDO_TAG)}