summaryrefslogtreecommitdiffstats
path: root/boot/sdnc_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/sdnc_install.sh')
-rw-r--r--boot/sdnc_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/sdnc_install.sh b/boot/sdnc_install.sh
index 196542fa..e767952c 100644
--- a/boot/sdnc_install.sh
+++ b/boot/sdnc_install.sh
@@ -71,7 +71,7 @@ mv /opt/sdnc_serv.sh /etc/init.d
update-rc.d sdnc_serv.sh defaults
# Download and install docker-engine and docker-compose
-echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
+echo "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get install -y --allow-unauthenticated docker-engine