diff --git a/monkey/monkey_island/linux/install_mongo.sh b/monkey/monkey_island/linux/install_mongo.sh index 93b0349d1..7afe95ff3 100755 --- a/monkey/monkey_island/linux/install_mongo.sh +++ b/monkey/monkey_island/linux/install_mongo.sh @@ -4,7 +4,8 @@ exists() { command -v "$1" >/dev/null 2>&1 } -export os_version_monkey=$(cat /etc/issue) +os_version_monkey=$(cat /etc/issue) +export os_version_monkey MONGODB_DIR=$1 # If using deb, this should be: /var/monkey/monkey_island/bin/mongodb if [[ ${os_version_monkey} == "Ubuntu 16.04"* ]]; then