Updates to get clean builds
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 1 Sep 2016 16:20:16 +0000 (09:20 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 1 Sep 2016 16:20:16 +0000 (09:20 -0700)
* 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>
packer/provision/agl_dependencies.sh
packer/provision/baseline.sh
packer/vars/ubuntu-16.04.json

index cadb5ca..a3d3077 100644 (file)
@@ -3,5 +3,4 @@
 DEBIAN_FRONTEND=noninteractive apt-get update && \
     apt-get -y install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat \
                        libsdl1.2-dev xterm make xsltproc docbook-utils fop dblatex xmlto autoconf automake \
-                       libtool libglib2.0-dev libarchive-dev python-git git python python-2.7 python-minimal \
-                       repo mc
\ No newline at end of file
+                       libtool libglib2.0-dev libarchive-dev python-git git python python-minimal repo mc
index 769924a..931ee57 100644 (file)
@@ -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
index aedec74..7b33b38 100644 (file)
@@ -3,5 +3,5 @@
   "cloud_user": "ubuntu",
 
   "distro": "Ubuntu 16.04",
-  "cloud_user_data": "null_data"
+  "cloud_user_data": "provision/null_data.sh"
 }