http proxt settings env variables added
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
|
||||
|
||||
source /opt/proxy_settings.sh
|
||||
|
||||
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
|
||||
|
||||
apt-mirror
|
||||
|
||||
@@ -5,6 +5,8 @@ do
|
||||
dnf config-manager --add-repo /etc/yum.repos.d/mirror/$repo_file
|
||||
done
|
||||
|
||||
source /opt/proxy_settings.sh
|
||||
|
||||
# for gpg_key in $(find /tmp/gpg_keys)
|
||||
# do
|
||||
# rpm --import /tmp/gpg_keys/$gpg_key
|
||||
|
||||
Reference in New Issue
Block a user