From 3a10003246764e10f0daed2125e32480e2dc5952 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 17 Sep 2019 14:43:11 -0700 Subject: [PATCH] libssl1 asking for restart prompt during install https://unix.stackexchange.com/questions/146283/how-to-prevent-prompt-that-ask-to-restart-services-when-installing-libpq-dev https://github.com/confluentinc/castle/pull/1 https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1833013 --- scripts/cloudron-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cloudron-setup b/scripts/cloudron-setup index c8ad86b92..8aabcf62d 100755 --- a/scripts/cloudron-setup +++ b/scripts/cloudron-setup @@ -162,7 +162,7 @@ if [[ "${initBaseImage}" == "true" ]]; then exit 1 fi - if ! apt-get install curl python3 ubuntu-standard -y &>> "${LOG_FILE}"; then + if ! DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y install curl python3 ubuntu-standard -y &>> "${LOG_FILE}"; then echo "Could not install setup dependencies (curl). See ${LOG_FILE}" exit 1 fi