summaryrefslogtreecommitdiff
path: root/utils/lxc.sh
diff options
context:
space:
mode:
authorEliesemoule <github@bougeard.org>2020-08-01 20:12:44 +0000
committerGitHub <noreply@github.com>2020-08-01 22:12:44 +0200
commit1986b5ecacfb3b4b73a160eaa2309e81b609d96b (patch)
tree0d3f535ac628eb5f0eaa1b85e94d2bf788cbd0a5 /utils/lxc.sh
parent0e5197123dd4282b324414f46d9fb0f41faa7c60 (diff)
downloadsearxng-1986b5ecacfb3b4b73a160eaa2309e81b609d96b.tar.gz
searxng-1986b5ecacfb3b4b73a160eaa2309e81b609d96b.zip
Utility scripts adapted to run on CentOS 7 (#2112)
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-xutils/lxc.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh
index a0688bc07..a9149a197 100755
--- a/utils/lxc.sh
+++ b/utils/lxc.sh
@@ -54,6 +54,13 @@ dnf install -y git curl wget hostname
echo 'Set disable_coredump false' >> /etc/sudo.conf
"
+# shellcheck disable=SC2034
+centos7_boilerplate="
+yum update -y
+yum install -y git curl wget hostname
+echo 'Set disable_coredump false' >> /etc/sudo.conf
+"
+
REMOTE_IMAGES=()
CONTAINERS=()
LOCAL_IMAGES=()