octavia/elements/haproxy-octavia/pre-install.d/01-backports
Michael Johnson e50ba48c1b Merge haproxy-octavia elements
Currently there are two haproxy-octavia elements, haproxy-octavia and
haproxy-octavia-ubuntu in the Octavia project.  The have minimal changes
between them, so this patch merges them into one element with a
backward compatible element left for haproxy-octavia-ubuntu.

Change-Id: I990802726d24e319988bfb614b3bf3fb560512b4
2017-11-09 09:09:01 -08:00

10 lines
288 B
Bash
Executable File

#!/bin/bash
# Add the Ubuntu backports archive
set -eu
set -o xtrace
if [ "$DISTRO_NAME" == "ubuntu" ] && [ "$DIB_RELEASE" == "trusty" ]; then
echo deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse > /etc/apt/sources.list.d/backports.list
fi