Skip to content

Commit

Permalink
Fix proxy url setting and adding community.general collection
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernT committed Oct 18, 2024
1 parent f75d56e commit 27de3a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fi

if [ $hasProxy == true ]; then
if [ $isRH == false ]; then
export HTTP_PROXY=`awk '/Acquire::http::Proxy/ {str=$2; gsub(";","",str); print str}' /etc/apt/apt.conf`
export HTTPS_PROXY=`awk '/Acquire::https::Proxy/ {str=$2; gsub(";","",str); print str}' /etc/apt/apt.conf`
export HTTP_PROXY=`awk '/Acquire::http::Proxy/ {str=$2; gsub("[;\"]","",str); print str}' /etc/apt/apt.conf`
export HTTPS_PROXY=`awk '/Acquire::https::Proxy/ {str=$2; gsub("[;\"]","",str); print str}' /etc/apt/apt.conf`
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
fi
Expand All @@ -38,6 +38,7 @@ pip install -r /opt/rpc-maas/requirements.txt

ansible-galaxy collection install community.rabbitmq
ansible-galaxy collection install openstack.cloud
ansible-galaxy collection install community.general

deactivate

Expand Down

0 comments on commit 27de3a9

Please sign in to comment.