mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 03:30:12 +01:00
Added shellcheck, cheanged debian-security repo
This commit is contained in:
parent
ad25553747
commit
60c43dc2bf
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
# Authors:
|
# Authors:
|
||||||
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
|
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
|
||||||
@ -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
|
deb http://ftp.de.debian.org/debian bullseye-updates main contrib
|
||||||
|
|
||||||
# security updates
|
# security updates
|
||||||
deb http://security.debian.org bullseye-security main contrib
|
deb http://ftp.de.debian.org/debian-security bullseye-security main contrib
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
elif [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
|
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
|
deb http://ftp.de.debian.org/debian buster-updates main contrib
|
||||||
|
|
||||||
# security updates
|
# security updates
|
||||||
deb http://security.debian.org buster/updates main contrib
|
deb http://ftp.de.debian.org/debian-security buster/updates main contrib
|
||||||
EOF
|
EOF
|
||||||
else echo "LXC Debian Version false. Please check configuration files!" ; exit
|
else echo "LXC Debian Version false. Please check configuration files!" ; exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user