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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c29a14..17e7fa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2024-08-13 + +### Changed +- Added `--trusted-host pypi.python.org` parameter to all `pip install` commands in the Amazon Linux 2 setup script for improved consistency and reliability. + ## 2024-04-18 ### Added