Build: Update MongoDB links in install_mongo.sh
This commit is contained in:
parent
b9f71cd41c
commit
36faa9f5a3
|
@ -10,25 +10,25 @@ MONGODB_DIR=$1 # If using deb, this should be: /var/monkey/monkey_island/bin/mon
|
||||||
|
|
||||||
if [[ ${os_version_monkey} == "Ubuntu 16.04"* ]]; then
|
if [[ ${os_version_monkey} == "Ubuntu 16.04"* ]]; then
|
||||||
echo Detected Ubuntu 16.04
|
echo Detected Ubuntu 16.04
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.3.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.20.tgz"
|
||||||
elif [[ ${os_version_monkey} == "Ubuntu 18.04"* ]]; then
|
elif [[ ${os_version_monkey} == "Ubuntu 18.04"* ]]; then
|
||||||
echo Detected Ubuntu 18.04
|
echo Detected Ubuntu 18.04
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.3.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.20.tgz"
|
||||||
elif [[ ${os_version_monkey} == "Ubuntu 19.10"* ]]; then
|
elif [[ ${os_version_monkey} == "Ubuntu 19.10"* ]]; then
|
||||||
echo Detected Ubuntu 19.10
|
echo Detected Ubuntu 19.10
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.3.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.20.tgz"
|
||||||
elif [[ ${os_version_monkey} == "Ubuntu 20.04"* ]]; then
|
elif [[ ${os_version_monkey} == "Ubuntu 20.04"* ]]; then
|
||||||
echo Detected Ubuntu 20.04
|
echo Detected Ubuntu 20.04
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-4.4.0.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-4.4.14.tgz"
|
||||||
elif [[ ${os_version_monkey} == "Debian GNU/Linux 9"* ]]; then
|
elif [[ ${os_version_monkey} == "Debian GNU/Linux 9"* ]]; then
|
||||||
echo Detected Debian 9
|
echo Detected Debian 9
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian92-4.2.3.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian92-4.2.20.tgz"
|
||||||
elif [[ ${os_version_monkey} == "Debian GNU/Linux 10"* ]]; then
|
elif [[ ${os_version_monkey} == "Debian GNU/Linux 10"* ]]; then
|
||||||
echo Detected Debian 10
|
echo Detected Debian 10
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian10-4.2.3.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian10-4.2.20.tgz"
|
||||||
elif [[ ${os_version_monkey} == "Kali GNU/Linux"* ]]; then
|
elif [[ ${os_version_monkey} == "Kali GNU/Linux"* ]]; then
|
||||||
echo Detected Kali Linux
|
echo Detected Kali Linux
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian10-4.2.3.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian10-4.2.20.tgz"
|
||||||
else
|
else
|
||||||
echo Unsupported OS
|
echo Unsupported OS
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue