From d1ea038870ac5463be273bf0436e00dedc346d52 Mon Sep 17 00:00:00 2001 From: jeeva-duplo <50436466+jeeva-duplo@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:05:05 +0530 Subject: [PATCH] Adding trusted host param for pip install --- AgentAmazonLinux2/Setup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AgentAmazonLinux2/Setup.sh b/AgentAmazonLinux2/Setup.sh index 4435473..8904f38 100755 --- a/AgentAmazonLinux2/Setup.sh +++ b/AgentAmazonLinux2/Setup.sh @@ -43,12 +43,12 @@ py3Install () { # install virtualenv flask virtualenv flask - yes | flask/bin/pip install flask - yes | flask/bin/pip install requests - yes | flask/bin/pip install python-pytun - yes | flask/bin/pip install --upgrade python-iptables - yes | flask/bin/pip install docker - yes | flask/bin/pip install boto3 + yes | flask/bin/pip --trusted-host pypi.python.org install flask + yes | flask/bin/pip --trusted-host pypi.python.org install requests + yes | flask/bin/pip --trusted-host pypi.python.org install python-pytun + yes | flask/bin/pip --trusted-host pypi.python.org install --upgrade python-iptables + yes | flask/bin/pip --trusted-host pypi.python.org install docker + yes | flask/bin/pip --trusted-host pypi.python.org install boto3 ######### cd $DAEMON_DIR