From 6928ae40cea45abd363bc1626ad1e46018d85399 Mon Sep 17 00:00:00 2001 From: Fabio Buso Date: Wed, 24 Jul 2019 18:26:48 +0200 Subject: [PATCH] Support Ubuntu 18.04 --- templates/default/sources.list.erb | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/templates/default/sources.list.erb b/templates/default/sources.list.erb index 7b22b546..6864d22d 100644 --- a/templates/default/sources.list.erb +++ b/templates/default/sources.list.erb @@ -2,46 +2,46 @@ # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial main restricted -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial main restricted +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %> main restricted +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %> main restricted ## Major bug fix updates produced after the final release of the ## distribution. -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-updates main restricted -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-updates main restricted +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-updates main restricted +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial universe -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial universe -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-updates universe -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-updates universe +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %> universe +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %> universe +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-updates universe +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial multiverse -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial multiverse -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-updates multiverse -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-updates multiverse +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %> multiverse +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %> multiverse +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-updates multiverse +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. -deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse -deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse +deb http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-backports main restricted universe multiverse +deb-src http://<%= node['region'] %>.archive.ubuntu.com/ubuntu/ <%= node['lsb']['codename'] %>-backports main restricted universe multiverse -deb http://security.ubuntu.com/ubuntu xenial-security main restricted -deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted -deb http://security.ubuntu.com/ubuntu xenial-security universe -deb-src http://security.ubuntu.com/ubuntu xenial-security universe -deb http://security.ubuntu.com/ubuntu xenial-security multiverse -deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse +deb http://security.ubuntu.com/ubuntu <%= node['lsb']['codename'] %>-security main restricted +deb-src http://security.ubuntu.com/ubuntu <%= node['lsb']['codename'] %>-security main restricted +deb http://security.ubuntu.com/ubuntu <%= node['lsb']['codename'] %>-security universe +deb-src http://security.ubuntu.com/ubuntu <%= node['lsb']['codename'] %>-security universe +deb http://security.ubuntu.com/ubuntu <%= node['lsb']['codename'] %>-security multiverse +deb-src http://security.ubuntu.com/ubuntu <%= node['lsb']['codename'] %>-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository.