From ab342f39eba305ccac1dc9cbe795b21d0f47dbe6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2024 11:22:33 +0200 Subject: [PATCH] [debian12] feat: added sudo and made debconf noninteractive --- scripts/debian12.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/debian12.sh b/scripts/debian12.sh index d862323..37e2c1f 100644 --- a/scripts/debian12.sh +++ b/scripts/debian12.sh @@ -1,6 +1,12 @@ +# environment vars +DEBIAN_FRONTEND=noninteractive + +# make debconf noninteractive +echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections + # update guest apt-get update -DEBIAN_FRONTEND=noninteractive apt-get upgrade -y +apt-get upgrade -y apt-get autoremove -y # install packages