aboutsummaryrefslogtreecommitdiffstats
path: root/boot/robot_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/robot_install.sh')
-rw-r--r--boot/robot_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/robot_install.sh b/boot/robot_install.sh
index 827b2ce4..a41cf886 100644
--- a/boot/robot_install.sh
+++ b/boot/robot_install.sh
@@ -82,7 +82,7 @@ cp /opt/robot_serv.sh /etc/init.d
update-rc.d robot_serv.sh defaults
# Download and install docker-engine
-echo "deb https://apt.dockerproject.org/repo ubuntu-xenial 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