summaryrefslogtreecommitdiffstats
path: root/libexec/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-11-16 06:28:30 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-11-16 06:28:30 +0000
commitc1a760a3375983943a845243928e2f0c6d7dd673 (patch)
treee7e2b45f019bb2b073ec74777ca7e806f087cef0 /libexec/container
parentReleasing version 20211116. (diff)
downloadcompute-tools-c1a760a3375983943a845243928e2f0c6d7dd673.tar.xz
compute-tools-c1a760a3375983943a845243928e2f0c6d7dd673.zip
Adding complete debconf envars in container update command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'libexec/container')
-rwxr-xr-xlibexec/container/update4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/container/update b/libexec/container/update
index de76942..c05a20b 100755
--- a/libexec/container/update
+++ b/libexec/container/update
@@ -173,11 +173,11 @@ do
case "${FULL_UPGRADE}" in
true)
- container run -n ${NAME} -- "DEBCONF_FRONTEND='noninteractive' DEBCONF_PRIORITY='critical' apt \-o Dpkg::Options::=\-\-force-confold ${YES} full-upgrade"
+ container run -n ${NAME} -- "DEBCONF_FRONTEND='noninteractive' DEBCONF_PRIORITY='critical' DEBCONF_NONINTERACTIVE_SEEN='true' DEBCONF_NOWARNINGS='true' apt \-o Dpkg::Options::=\-\-force-confold ${YES} full-upgrade"
;;
*)
- container run -n ${NAME} -- "DEBCONF_FRONTEND='noninteractive' DEBCONF_PRIORITY='critical' apt \-o Dpkg::Options::=\-\-force-confold ${YES} upgrade"
+ container run -n ${NAME} -- "DEBCONF_FRONTEND='noninteractive' DEBCONF_PRIORITY='critical' DEBCONF_NONINTERACTIVE_SEEN='true' DEBCONF_NOWARNINGS='true' apt \-o Dpkg::Options::=\-\-force-confold ${YES} upgrade"
;;
esac