aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-03-16 10:59:28 +0100
committerDennis Eriksen <d@ennis.no>2020-03-16 10:59:28 +0100
commit58e86c18cbd523e4238b13a3634fd61c0b7b8723 (patch)
tree05e4233d116517d67999a64bac527fa79e4188ab
parentbumping rust version (diff)
downloadmkosi-vaultwarden-58e86c18cbd523e4238b13a3634fd61c0b7b8723.tar.gz
updating repo-location
-rw-r--r--mkosi.default2
-rwxr-xr-xmkosi.postinst4
2 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.default b/mkosi.default
index 5ebf1ec..205d9e6 100644
--- a/mkosi.default
+++ b/mkosi.default
@@ -2,7 +2,7 @@
Distribution=ubuntu
Release=bionic
Repositories=main,universe
-Mirror=http://no.archive.ubuntu.com
+Mirror=http://no.archive.ubuntu.com/ubuntu
[Output]
Format=directory
diff --git a/mkosi.postinst b/mkosi.postinst
index 24b732e..f65b57a 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -10,8 +10,8 @@ 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}')
-echo "deb http://no.archive.ubuntu.com ${RELEASE}-security main universe" >> /etc/apt/sources.list
-echo "deb http://no.archive.ubuntu.com ${RELEASE}-updates main universe" >> /etc/apt/sources.list
+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 update && apt --yes full-upgrade && apt --yes autoremove
# set up bitwarden