octavia/elements/keepalived-octavia/pre-install.d/00-backports

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