From 92c2ebfcbc7683084fde70270799d5bf7ffb3751 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 8 Aug 2024 15:09:31 -0400 Subject: [PATCH] Upgrade packaging to latest version to avoid tailing 0 issues Signed-off-by: Peter Zhu --- packer/scripts/al2023/al2023-agent-setups.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packer/scripts/al2023/al2023-agent-setups.sh b/packer/scripts/al2023/al2023-agent-setups.sh index 47218e3..bdfdfd1 100755 --- a/packer/scripts/al2023/al2023-agent-setups.sh +++ b/packer/scripts/al2023/al2023-agent-setups.sh @@ -33,6 +33,8 @@ curl -o- https://bootstrap.pypa.io/get-pip.py | python3 echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.bashrc export PATH=$PATH:$HOME/.local/bin pip install pipenv awscli docker-compose +# Temp Solution: https://github.com/opensearch-project/opensearch-build/issues/4929 +pip install --upgrade packaging pipenv --version && aws --version && docker-compose --version sudo sed -i 's/OPTIONS/# OPTIONS/g' /etc/sysconfig/docker