From 8e90d79399b4cfc5e6d7313897e5c5039f100e8c Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 28 Aug 2018 17:41:06 +0700 Subject: [PATCH] Upgrade remote install script to use any ubuntu codename. Fixes #1393. --- scripts/remote-install.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/remote-install.sh b/scripts/remote-install.sh index 6937141e..e8c6597a 100644 --- a/scripts/remote-install.sh +++ b/scripts/remote-install.sh @@ -87,14 +87,7 @@ done set -e export DEBIAN_FRONTEND="noninteractive" - -UBUNTU_VERSION=`lsb_release -r -s` -if [ "$UBUNTU_VERSION" == "14.04" ] -then - UBUNTU_CODENAME="trusty" -else - UBUNTU_CODENAME="xenial" -fi +UBUNTU_CODENAME=`lsb_release -c -s` log "Add GNS3 repository"