Fix verify build remove obs ppa 37/99837/5
authorMarcus G K Williams <marcus.williams@intel.com>
Thu, 19 Dec 2019 22:28:23 +0000 (14:28 -0800)
committerMarcus Williams <marcus.williams@intel.com>
Thu, 19 Dec 2019 23:55:25 +0000 (23:55 +0000)
Remove no longer public jonathonf ppa

Issue-ID: CIMAN-359
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Change-Id: I12a24a28914654127e3bd27e7814b42ecd897ca1

kud/hosting_providers/containerized/installer.sh
kud/hosting_providers/vagrant/installer.sh

index f1b95ac..8739ca2 100755 (executable)
@@ -17,6 +17,9 @@ INSTALLER_DIR="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")"
 
 function install_prerequisites {
 #install package for docker images
+    echo "Removing ppa for jonathonf/python-3.6"
+    ls /etc/apt/sources.list.d/ || true
+    find /etc/apt/sources.list.d -maxdepth 1 -name '*jonathonf*' -delete || true
     apt-get update
     apt-get install -y curl vim wget git \
         software-properties-common python-pip sudo
index 235736e..1597486 100755 (executable)
@@ -247,6 +247,9 @@ if [ -f $kud_folder/sources.list ]; then
     sudo mv /etc/apt/sources.list /etc/apt/sources.list.backup
     sudo cp $kud_folder/sources.list /etc/apt/sources.list
 fi
+echo "Removing ppa for jonathonf/python-3.6"
+sudo ls /etc/apt/sources.list.d/ || true
+sudo find /etc/apt/sources.list.d -maxdepth 1 -name '*jonathonf*' -delete || true
 sudo apt-get update
 install_k8s
 _set_environment_file