From 6bfb445b932832e9ef69e43945807c8f708d3333 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 29 Nov 2023 03:08:33 -0600 Subject: [PATCH] add apt update and fix docker name. --- opensearch-1.x-node-installer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/opensearch-1.x-node-installer.sh b/opensearch-1.x-node-installer.sh index 895cb6f..4905583 100644 --- a/opensearch-1.x-node-installer.sh +++ b/opensearch-1.x-node-installer.sh @@ -81,6 +81,9 @@ if ! [ "$(id -u)" = 0 ]; then exit 0 fi +# Check update +apt-get update -q2 + # Test RAM size (4GB min) + CPUs (min 2) #Check system resources printf "\n\nVerifying System Resources:" @@ -160,7 +163,7 @@ else fi sleep .1 # Check & install docker -install_if_not docker +install_if_not docker.io install_if_not docker-compose sysctl -w vm.max_map_count="$max_map_count"