From 60c43dc2bf8ca4e3940bc30e63b0d846e12d8092 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Sat, 21 May 2022 17:12:33 +0200 Subject: [PATCH] Added shellcheck, cheanged debian-security repo --- src/lxc-base.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lxc-base.sh b/src/lxc-base.sh index b89d820..a99fdfe 100644 --- a/src/lxc-base.sh +++ b/src/lxc-base.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -euo pipefail # Authors: # (C) 2021 Idea an concept by Christian Zengel @@ -29,7 +30,7 @@ deb http://ftp.de.debian.org/debian bullseye main contrib deb http://ftp.de.debian.org/debian bullseye-updates main contrib # security updates -deb http://security.debian.org bullseye-security main contrib +deb http://ftp.de.debian.org/debian-security bullseye-security main contrib EOF elif [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then @@ -40,7 +41,7 @@ deb http://ftp.de.debian.org/debian buster main contrib deb http://ftp.de.debian.org/debian buster-updates main contrib # security updates -deb http://security.debian.org buster/updates main contrib +deb http://ftp.de.debian.org/debian-security buster/updates main contrib EOF else echo "LXC Debian Version false. Please check configuration files!" ; exit fi