Merge pull request #2320 from TronPaul/fix/no-tty

set noninteractive during unattended install
This commit is contained in:
Mark Drobnak 2018-08-08 19:28:12 -04:00 committed by GitHub
commit ef8aaba014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)