From afddb64f5c9288b2575a384b6c502f1d95580827 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Mon, 12 Feb 2018 15:40:36 -0500 Subject: [PATCH] Server infrastructure: switch default URLs to HTTPS HTTPS has been enabled on the avocado-project.org server, so let's use it by default on docs and when downloading images from it. Signed-off-by: Cleber Rosa --- README.rst | 6 +++--- avocado/utils/vmimage.py | 2 +- docs/source/GetStartedGuide.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 6f6b76d0..75c3c757 100644 --- a/README.rst +++ b/README.rst @@ -104,7 +104,7 @@ Term Stability) releases available from its own package repository. To use it, first get the package repositories configuration file by running the following command:: - sudo curl http://avocado-project.org/data/repos/avocado-fedora.repo -o /etc/yum.repos.d/avocado.repo + sudo curl https://avocado-project.org/data/repos/avocado-fedora.repo -o /etc/yum.repos.d/avocado.repo Now check if you have the ``avocado`` and ``avocado-lts`` repositories configured by running:: @@ -149,11 +149,11 @@ following command should do it:: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Then you must use the Avocado project RHEL repo -(http://avocado-project.org/data/repos/avocado-el.repo). +(https://avocado-project.org/data/repos/avocado-el.repo). Running the following command should give you the basic Avocado installation ready:: - curl http://avocado-project.org/data/repos/avocado-el.repo -o /etc/yum.repos.d/avocado.repo + curl https://avocado-project.org/data/repos/avocado-el.repo -o /etc/yum.repos.d/avocado.repo yum install python-avocado Other available packages (depending on the Avocado version) may include: diff --git a/avocado/utils/vmimage.py b/avocado/utils/vmimage.py index d30b0fb6..00a9760d 100644 --- a/avocado/utils/vmimage.py +++ b/avocado/utils/vmimage.py @@ -240,7 +240,7 @@ class JeosImageProvider(ImageProviderBase): arch = '64' super(JeosImageProvider, self).__init__(version, build, arch) - self.url_versions = 'http://avocado-project.org/data/assets/jeos/' + self.url_versions = 'https://avocado-project.org/data/assets/jeos/' self.url_images = self.url_versions + '{version}/' self.image_pattern = 'jeos-{version}-{arch}.qcow2.xz$' diff --git a/docs/source/GetStartedGuide.rst b/docs/source/GetStartedGuide.rst index 6a8fb45d..24c742c8 100644 --- a/docs/source/GetStartedGuide.rst +++ b/docs/source/GetStartedGuide.rst @@ -91,7 +91,7 @@ Term Stability) releases available from its own package repository. To use it, first get the package repositories configuration file by running the following command:: - sudo curl http://avocado-project.org/data/repos/avocado-fedora.repo -o /etc/yum.repos.d/avocado.repo + sudo curl https://avocado-project.org/data/repos/avocado-fedora.repo -o /etc/yum.repos.d/avocado.repo Now check if you have the ``avocado`` and ``avocado-lts`` repositories configured by running:: @@ -134,11 +134,11 @@ following command should do it:: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Then you must use the Avocado project RHEL repo -(http://avocado-project.org/data/repos/avocado-el.repo). +(https://avocado-project.org/data/repos/avocado-el.repo). Running the following command should give you the basic Avocado installation ready:: - curl http://avocado-project.org/data/repos/avocado-el.repo -o /etc/yum.repos.d/avocado.repo + curl https://avocado-project.org/data/repos/avocado-el.repo -o /etc/yum.repos.d/avocado.repo yum install python-avocado Other available packages (depending on the Avocado version) may include: -- GitLab