From cea3730f8755e5540eda0ef36e4adf649a8a772e Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Tue, 20 Feb 2018 14:42:36 -0800 Subject: [PATCH] Updating script to support default bionic kernel --- ubuntu/18.04/install.sh | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/ubuntu/18.04/install.sh b/ubuntu/18.04/install.sh index 75f5958..8842ecd 100644 --- a/ubuntu/18.04/install.sh +++ b/ubuntu/18.04/install.sh @@ -11,16 +11,14 @@ # Update our machine to the latest code if we need to. # -sudo apt update -sudo apt upgrade -y +# Check if we have the bionic-proposed sources list +sudo cat /etc/apt/sources.list | grep bionic-proposed > /dev/null +if [ "$?" == "1" ]; then +sudo bash -c 'echo "deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main multiverse universe" >> /etc/apt/sources.list <