Skip to content

Commit

Permalink
Use HTTPS for the list of OpenBSD mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
gdm85 authored Dec 7, 2017
1 parent 5165ded commit 1664c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5101,7 +5101,7 @@ install_freebsd_restart_daemons() {
__choose_openbsd_mirror() {
OPENBSD_REPO=''
MINTIME=''
MIRROR_LIST=$(ftp -w 15 -Vao - 'http://ftp.openbsd.org/cgi-bin/ftplist.cgi?dbversion=1' | awk '/^http/ {print $1}')
MIRROR_LIST=$(ftp -w 15 -Vao - 'https://ftp.openbsd.org/cgi-bin/ftplist.cgi?dbversion=1' | awk '/^http/ {print $1}')

for MIRROR in $MIRROR_LIST; do
MIRROR_HOST=$(echo "$MIRROR" | sed -e 's|.*//||' -e 's|+*/.*$||')
Expand Down

0 comments on commit 1664c84

Please sign in to comment.