From 86c52e4c8c57f7aa383565fc0908ee15fb3a801b Mon Sep 17 00:00:00 2001
From: "anthony.bellino" <ab2434@att.com>
Date: Tue, 3 Aug 2021 09:50:33 -0700
Subject: [PATCH] Gate fix for pegleg

Remove default pip.conf as some packages are
not availablei from the mirror and cause
the image build jobs to fail.

Change-Id: I125360952190a4dc5cfb98647cd94dcf506f9b71
---
 tools/gate/playbooks/docker-image-build.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/gate/playbooks/docker-image-build.yaml b/tools/gate/playbooks/docker-image-build.yaml
index d3395da7..3efbb67d 100644
--- a/tools/gate/playbooks/docker-image-build.yaml
+++ b/tools/gate/playbooks/docker-image-build.yaml
@@ -57,6 +57,10 @@
       debug:
         var: image_tags
 
+    - name: Remove default mirror config
+      shell: rm /etc/pip.conf
+      become: True
+
     - name: Install Docker (Debian)
       when: ansible_os_family == 'Debian'
       block: