From e7e58a4f428bd315b6df45bf505481eb589bcaa5 Mon Sep 17 00:00:00 2001 From: David Zwart Date: Mon, 22 Apr 2024 21:47:07 +0200 Subject: [PATCH] fix: remove MongoDB --- src/modules/monsterpi/start_chroot_script | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/modules/monsterpi/start_chroot_script b/src/modules/monsterpi/start_chroot_script index fda59ec..55e4889 100644 --- a/src/modules/monsterpi/start_chroot_script +++ b/src/modules/monsterpi/start_chroot_script @@ -68,16 +68,6 @@ pushd /home/"${BASE_USER}" fi popd -# Add MongoDB as trusted source list -wget -qO - https://www.mongodb.org/static/pgp/server-"$MONSTERPI_MONGODB_VERSION".asc | sudo apt-key add - -echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/`cat /etc/os-release | grep "^ID=" | cut -d "=" -f2` `cat /etc/os-release | grep "^VERSION_CODENAME=" | cut -d "=" -f2`/mongodb-org/$MONSTERPI_MONGODB_VERSION multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-$MONSTERPI_MONGODB_VERSION.list -apt update - -# Install MongoDB -sudo apt install -y mongodb-org=4.4.15 mongodb-org-server=4.4.15 mongodb-org-shell=4.4.15 mongodb-org-mongos=4.4.15 mongodb-org-tools=4.4.15 -systemctl enable mongod -systemctl start mongod - # add some "How To" info to boot output # Note, this code is also in /filesystem/home/pi/scripts/ sed -i 's@exit 0@@' /etc/rc.local