mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-09 16:26:01 +00:00
feat: always use https mirrors for layering
This commit is contained in:
@@ -5,3 +5,4 @@ scripts:
|
||||
- disablesealertpopups.sh
|
||||
- homebrewanalyticsoptout.sh
|
||||
- hardencontainerpolicy.sh
|
||||
- httpsmirrors.sh
|
||||
8
config/scripts/httpsmirrors.sh
Normal file
8
config/scripts/httpsmirrors.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
for repo in /usr/etc/yum.repos.d/*.repo; do
|
||||
sed -i 's/metalink?/metalink?protocol=https\&/g' "$repo"
|
||||
done
|
||||
Reference in New Issue
Block a user