зеркало из https://github.com/microsoft/lisa.git
add apt update for debian after adding repo
This commit is contained in:
Родитель
e3dc795296
Коммит
581a472266
|
@ -763,6 +763,10 @@ class Debian(Linux):
|
||||||
expected_exit_code_failure_message="fail to add repository",
|
expected_exit_code_failure_message="fail to add repository",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# apt update will not be triggered on Debian during add repo
|
||||||
|
if type(self._node.os) == Debian:
|
||||||
|
self._node.execute("apt-get update", sudo=True)
|
||||||
|
|
||||||
@retry(tries=10, delay=5)
|
@retry(tries=10, delay=5)
|
||||||
def _initialize_package_installation(self) -> None:
|
def _initialize_package_installation(self) -> None:
|
||||||
# wait running system package process.
|
# wait running system package process.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче