From fd10fa55710ad10c94ec43e8587c7b984507a29a Mon Sep 17 00:00:00 2001 From: Michal Nowikowski Date: Thu, 24 Sep 2020 16:48:54 +0200 Subject: [PATCH] [#1432] hammer: added more attempts for pkgs installation in case of centos 8 --- hammer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hammer.py b/hammer.py index 194c653253..8b375ce81e 100755 --- a/hammer.py +++ b/hammer.py @@ -844,7 +844,7 @@ class VagrantEnv(object): cmd += 'gpgcheck=0\n' cmd += "EOF\n\'" self.execute(cmd) - self.execute("sudo dnf install -y python36 rpm-build python3-virtualenv") + self.execute("sudo dnf install -y python36 rpm-build python3-virtualenv", attempts=3) self.python = 'python3' # select proper python version for running Hammer inside Vagrant system