提交 afddb64f 编写于 作者: C Cleber Rosa

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: NCleber Rosa <crosa@redhat.com>
上级 b6f10e9f
...@@ -104,7 +104,7 @@ Term Stability) releases available from its own package repository. ...@@ -104,7 +104,7 @@ Term Stability) releases available from its own package repository.
To use it, first get the package repositories configuration file by To use it, first get the package repositories configuration file by
running the following command:: 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:: Now check if you have the ``avocado`` and ``avocado-lts`` repositories configured by running::
...@@ -149,11 +149,11 @@ following command should do it:: ...@@ -149,11 +149,11 @@ following command should do it::
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Then you must use the Avocado project RHEL repo 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 Running the following command should give you the basic Avocado
installation ready:: 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 yum install python-avocado
Other available packages (depending on the Avocado version) may include: Other available packages (depending on the Avocado version) may include:
......
...@@ -240,7 +240,7 @@ class JeosImageProvider(ImageProviderBase): ...@@ -240,7 +240,7 @@ class JeosImageProvider(ImageProviderBase):
arch = '64' arch = '64'
super(JeosImageProvider, self).__init__(version, build, arch) 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.url_images = self.url_versions + '{version}/'
self.image_pattern = 'jeos-{version}-{arch}.qcow2.xz$' self.image_pattern = 'jeos-{version}-{arch}.qcow2.xz$'
......
...@@ -91,7 +91,7 @@ Term Stability) releases available from its own package repository. ...@@ -91,7 +91,7 @@ Term Stability) releases available from its own package repository.
To use it, first get the package repositories configuration file by To use it, first get the package repositories configuration file by
running the following command:: 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:: Now check if you have the ``avocado`` and ``avocado-lts`` repositories configured by running::
...@@ -134,11 +134,11 @@ following command should do it:: ...@@ -134,11 +134,11 @@ following command should do it::
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Then you must use the Avocado project RHEL repo 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 Running the following command should give you the basic Avocado
installation ready:: 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 yum install python-avocado
Other available packages (depending on the Avocado version) may include: Other available packages (depending on the Avocado version) may include:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册