From cc9a44ecfba1f06788f5f288cb9a6336edb9fa70 Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Mon, 30 Nov 2020 11:51:02 +0000 Subject: [PATCH] Make the script work when piped into Bash --- sh/debian/configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/debian/configure.sh b/sh/debian/configure.sh index 9a73af01..cbb27f8c 100755 --- a/sh/debian/configure.sh +++ b/sh/debian/configure.sh @@ -6,13 +6,14 @@ IFS=' ' export DEBIAN_FRONTEND=noninteractive +export DEBIAN_PRIORITY=critical # Fix Debian 10 bug (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905409) PATH=/sbin:/usr/sbin:$PATH # Debian stable OS apt-get update -apt-get -y upgrade ||: +apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade apt-get -y dist-upgrade # Disable OpenStack SSH malware