From 5165ded566a72f02b3b78ffe8459d8905e90152b Mon Sep 17 00:00:00 2001 From: gdm85 Date: Thu, 7 Dec 2017 22:05:23 +0100 Subject: [PATCH 1/2] Use HTTPS URL for OpenSuse's saltstack repo --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 11e48f8..0f66553 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -5423,7 +5423,7 @@ __set_suse_pkg_repo() { fi if [ "$_DOWNSTREAM_PKG_REPO" -eq $BS_TRUE ]; then - suse_pkg_url_base="http://download.opensuse.org/repositories/systemsmanagement:/saltstack" + suse_pkg_url_base="https://download.opensuse.org/repositories/systemsmanagement:/saltstack" suse_pkg_url_path="${DISTRO_REPO}/systemsmanagement:saltstack.repo" else suse_pkg_url_base="${HTTP_VAL}://repo.saltstack.com/opensuse" From 1664c84130980a7c37d655a57e9b3e5cfa4a97de Mon Sep 17 00:00:00 2001 From: gdm85 Date: Thu, 7 Dec 2017 22:07:16 +0100 Subject: [PATCH 2/2] Use HTTPS for the list of OpenBSD mirrors --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 0f66553..80bca8e 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -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|+*/.*$||')