Skip to content

Commit 3c42c78

Browse files
author
Omega Lightning
committed
Fixed pending issue by interactive installation
An interactive step is needed by libssl1.1:amd64 to config itself. User must chose Yes/No about "Restart services during package upgrades without asking?" via frontend. "DEBIAN_FRONTEND=noninteractive" will make default options be chosen and no interruption in the process. Signed-off-by: lightning-zgc <[email protected]>
1 parent 6bf3003 commit 3c42c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ do_install() {
351351
set -x
352352
fi
353353
$sh_c 'apt-get update -qq >/dev/null'
354-
$sh_c "apt-get install -y -qq $pre_reqs >/dev/null"
354+
$sh_c "DEBIAN_FRONTEND=noninteractive apt-get install -y -qq $pre_reqs >/dev/null"
355355
$sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" | apt-key add -qq - >/dev/null"
356356
$sh_c "echo \"$apt_repo\" > /etc/apt/sources.list.d/docker.list"
357357
$sh_c 'apt-get update -qq >/dev/null'

0 commit comments

Comments
 (0)