debian disable frontend
This commit is contained in:
parent
515d64bc2a
commit
b9949d107c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue