diff options
author | Dennis Eriksen <d@ennis.no> | 2020-04-17 10:37:13 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2020-04-17 10:37:13 +0200 |
commit | 1b8f604761198c8a4e0e7221e7b1d6a95b29298e (patch) | |
tree | 72dbf1025816058127213c6945b24b6c42c70d85 | |
parent | updating repo-location (diff) | |
download | mkosi-davical-1b8f604761198c8a4e0e7221e7b1d6a95b29298e.tar.gz |
exchanging apt with apt-get for better script-compatability
-rw-r--r-- | mkosi.default | 1 | ||||
-rwxr-xr-x | mkosi.postinst | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mkosi.default b/mkosi.default index 66ba232..a0091a5 100644 --- a/mkosi.default +++ b/mkosi.default @@ -11,6 +11,7 @@ Output=/var/lib/machines/davical [Packages] WithNetwork=yes Packages= + apt-utils unattended-upgrades ca-certificates locales diff --git a/mkosi.postinst b/mkosi.postinst index 84e9bb3..6a5d1bb 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -11,7 +11,7 @@ systemctl mask motd-news.timer RELEASE=$(cat /etc/lsb-release | grep DISTRIB_CODENAME | 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 update && apt --yes full-upgrade && apt --yes autoremove +apt-get update && apt-get --yes full-upgrade && apt-get --yes autoremove # locales sed -i 's/# en_IE.UTF-8 UTF-8/en_IE.UTF-8 UTF-8/' /etc/locale.gen |