From e7357c1788f5331149a6f61b0dcf67fb5b6e0d68 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Dec 2018 11:11:01 +0100 Subject: [PATCH] Updates to install scripts --- setup/functions | 30 +++++++++++++++++------------- setup/install-centos7-https.sh | 4 +++- setup/install-centos7-local.sh | 4 +++- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/setup/functions b/setup/functions index 34cff870..8d390c11 100644 --- a/setup/functions +++ b/setup/functions @@ -4,14 +4,9 @@ if hash firewall-cmd 2>/dev/null; then firewallCmdExists=yes fi -function installBase { - local urlBaseTrusted="$1" - local urlBaseSandbox="$2" - local urlBasePublic="$3" - local wwwHost="$4" - +function installPrerequisities { yum -y install epel-release - + curl --silent --location https://rpm.nodesource.com/setup_10.x | bash - cat > /etc/yum.repos.d/mongodb-org.repo <