зеркало из https://github.com/microsoft/lisa.git
replace deprecated centos7 repo
This commit is contained in:
Родитель
303c0a32c5
Коммит
9f44ab98d9
|
@ -300,7 +300,7 @@ class Gpu(Feature):
|
|||
if release == "7":
|
||||
# vulkan-filesystem is required by CUDA in CentOS 7.x
|
||||
self._node.os._install_package_from_url(
|
||||
"http://mirror.centos.org/centos/7/os/x86_64/Packages/"
|
||||
"https://vault.centos.org/centos/7/os/x86_64/Packages/"
|
||||
"vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm"
|
||||
)
|
||||
|
||||
|
|
|
@ -127,15 +127,15 @@ class Docker(Tool):
|
|||
repo_name="docker-ce.repo",
|
||||
)
|
||||
self.node.os.add_repository(
|
||||
repo="http://mirror.centos.org/centos/7/extras/x86_64",
|
||||
repo="https://vault.centos.org/centos/7/extras/x86_64",
|
||||
repo_name="Centos extras",
|
||||
)
|
||||
self.node.os.add_repository(
|
||||
repo="http://mirror.centos.org/centos/7/os/x86_64",
|
||||
repo="https://vault.centos.org/centos/7/os/x86_64",
|
||||
repo_name="Centos extras",
|
||||
)
|
||||
gpg_donwload_path = self.node.tools[Wget].get(
|
||||
"http://mirror.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7",
|
||||
"https://vault.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7",
|
||||
)
|
||||
self.node.execute(f"rpm --import {gpg_donwload_path}", sudo=True)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче