diff options
-rw-r--r-- | mkosi.default | 2 | ||||
-rwxr-xr-x | mkosi.postinst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mkosi.default b/mkosi.default index 205d9e6..989f36a 100644 --- a/mkosi.default +++ b/mkosi.default @@ -1,6 +1,6 @@ [Distribution] Distribution=ubuntu -Release=bionic +Release=focal Repositories=main,universe Mirror=http://no.archive.ubuntu.com/ubuntu diff --git a/mkosi.postinst b/mkosi.postinst index fcc4b2e..f2624e1 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -9,7 +9,7 @@ systemctl mask motd-news.service systemctl mask motd-news.timer # Add update- and security-repositories, and perform upgrade -RELEASE=$(cat /etc/lsb-release | grep DISTRIB_CODENAME | awk -F'=' '{print $2}') +RELEASE=$(grep DISTRIB_CODENAME /etc/lsb-release | awk -F'=' '{print $2}') echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-security main universe" >> /etc/apt/sources.list echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-updates main universe" >> /etc/apt/sources.list apt-get update && apt-get --yes full-upgrade && apt-get --yes autoremove |