aboutsummaryrefslogtreecommitdiffstats
path: root/packer/provision/baseline.sh
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2016-09-01 09:20:16 -0700
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2016-09-01 09:20:16 -0700
commitdc4c868e0ee2ba700b31be267219df9eb1ca29c3 (patch)
treeb3d520b13ec424f1ff1fe441820ddc50e7fb94cf /packer/provision/baseline.sh
parent05dc72c8231971429e6e22f0e6fdaeb89018a12b (diff)
Updates to get clean builds
* Fix ubuntu user data to point to the proper provisioning script * Fix the baseline to make sure Vexxhost is not listed as a mirror * Fix agl_dependencies to not try install non-existent python-2.7 package Change-Id: If8fe295ffe097402b2e915bcd62a5e42e47e3d4f Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'packer/provision/baseline.sh')
-rw-r--r--packer/provision/baseline.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packer/provision/baseline.sh b/packer/provision/baseline.sh
index 769924af..931ee57a 100644
--- a/packer/provision/baseline.sh
+++ b/packer/provision/baseline.sh
@@ -99,6 +99,10 @@ Dpkg::Options {
EOF
+ # Make sure that we aren't using the vexxhost mirrors as they have issues
+ echo "---> Removing Vexxhost Ubuntu mirrors"
+ sed -i 's/ubuntu.mirror.vexxhost.com/us.archive.ubuntu.com/g' /etc/apt/sources.list
+
echo "---> Updating operating system"
apt-get update -qq > /dev/null
apt-get upgrade -qq > /dev/null