diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-11-16 05:17:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-11-16 05:19:15 +0000 |
commit | d6cf0ab472a1520e065dacd8034505711ed2e39b (patch) | |
tree | 73a5c3a5bbd1ff546051abdbe38c4192b6f17fa1 /libexec/container/update | |
parent | Adding comment about using grep to de-colorize apt messages in container upda... (diff) | |
download | compute-tools-d6cf0ab472a1520e065dacd8034505711ed2e39b.tar.xz compute-tools-d6cf0ab472a1520e065dacd8034505711ed2e39b.zip |
Making container update command work entirely non-interactive.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | libexec/container/update | 4 |
1 files changed, 2 insertions, 2 deletions
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 ;; |