debian disable frontend

This commit is contained in:
Marc Beninca 2023-05-14 11:51:45 +02:00
parent 515d64bc2a
commit b9949d107c

View file

@ -37,6 +37,8 @@ fr_FR.UTF-8 UTF-8
locale-gen locale-gen
# update catalog # update catalog
apt-get update apt-get update
#
debian_disable_frontend
# install packages # install packages
apt-get install --assume-yes "${packages[@]}" apt-get install --assume-yes "${packages[@]}"
} }
@ -64,7 +66,7 @@ function ovh-rescue-install {
# update catalog # update catalog
apt-get update apt-get update
# #
export DEBIAN_FRONTEND='noninteractive' debian_disable_frontend
# upgrade packages # upgrade packages
apt-get upgrade --assume-yes apt-get upgrade --assume-yes
# install packages # install packages