From d6cf0ab472a1520e065dacd8034505711ed2e39b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Nov 2021 06:17:52 +0100 Subject: Making container update command work entirely non-interactive. Signed-off-by: Daniel Baumann --- libexec/container/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/container/update') diff --git a/libexec/container/update b/libexec/container/update index cf26de9..6d8ac20 100755 --- a/libexec/container/update +++ b/libexec/container/update @@ -133,11 +133,11 @@ do case "${FULL_UPGRADE}" in true) - container run -n ${NAME} -- "apt ${YES} full-upgrade" + container run -n ${NAME} -- "DEBCONF_FRONTEND='noninteractive' DEBCONF_PRIORITY='critical' apt \-o Dpkg::Options::=\-\-force-confold ${YES} full-upgrade" ;; *) - container run -n ${NAME} -- "apt ${YES} upgrade" + container run -n ${NAME} -- "DEBCONF_FRONTEND='noninteractive' DEBCONF_PRIORITY='critical' apt \-o Dpkg::Options::=\-\-force-confold ${YES} upgrade" ;; esac ;; -- cgit v1.2.3