From 0bad72e0ae276bf0f6636667615d5d3a50196fdf Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Wed, 14 Apr 2021 00:58:25 +0200 Subject: [PATCH] Update & upgrade before package installing --- just_lxc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/just_lxc.sh b/just_lxc.sh index 622c8f3..1cf7f91 100644 --- a/just_lxc.sh +++ b/just_lxc.sh @@ -12,4 +12,6 @@ source /root/zamba.conf # Set Timezone ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime +apt update +DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq dist-upgrade DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" $LXC_TOOLSET \ No newline at end of file