mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Merge pull request #2320 from TronPaul/fix/no-tty
set noninteractive during unattended install
This commit is contained in:
commit
ef8aaba014
1 changed files with 2 additions and 0 deletions
|
@ -2342,6 +2342,8 @@ main() {
|
||||||
echo -e " ${INFO} Performing unattended setup, no whiptail dialogs will be displayed"
|
echo -e " ${INFO} Performing unattended setup, no whiptail dialogs will be displayed"
|
||||||
# Use the setup variables
|
# Use the setup variables
|
||||||
useUpdateVars=true
|
useUpdateVars=true
|
||||||
|
# also disable debconf-apt-progress dialogs
|
||||||
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
# Otherwise,
|
# Otherwise,
|
||||||
else
|
else
|
||||||
# show the available options (repair/reconfigure)
|
# show the available options (repair/reconfigure)
|
||||||
|
|
Loading…
Reference in a new issue