Skip to content

Commit

Permalink
set noninteractive on debconf
Browse files Browse the repository at this point in the history
get rid of warning "debconf: unable to initialize frontend: Dialog"
export DEBIAN_FRONTEND=noninteractive does not work with sudo
  • Loading branch information
AlvinSchiller committed Oct 17, 2023
1 parent 6160b75 commit c05da89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/installscripts/tests/run_installation_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ echo $PWD
echo "samba-common samba-common/dhcp boolean false" | sudo debconf-set-selections
# No interactive frontend
export DEBIAN_FRONTEND=noninteractive
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections

# Run installation (in interactive mode)
# y confirm interactive
Expand All @@ -21,7 +22,7 @@ export DEBIAN_FRONTEND=noninteractive
# n no spotify
# y configure mpd
# y audio default location
# y config gpio
# y config gpio
# n no RFID registration
# n No reboot

Expand Down
1 change: 1 addition & 0 deletions scripts/installscripts/tests/run_installation_tests2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ echo $PWD
echo "samba-common samba-common/dhcp boolean false" | sudo debconf-set-selections
# No interactive frontend
export DEBIAN_FRONTEND=noninteractive
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections

# Run installation (in interactive mode)
# y confirm interactive
Expand Down
1 change: 1 addition & 0 deletions scripts/installscripts/tests/run_installation_tests3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ echo $PWD
echo "samba-common samba-common/dhcp boolean false" | sudo debconf-set-selections
# No interactive frontend
export DEBIAN_FRONTEND=noninteractive
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections

# Run installation (in interactive mode)
# y confirm interactive
Expand Down

0 comments on commit c05da89

Please sign in to comment.