Skip to content

Commit

Permalink
Handle el6 as a legacy os too in virtual provision
Browse files Browse the repository at this point in the history
  • Loading branch information
frantisekz committed May 12, 2023
1 parent 6292e19 commit 52236fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmt/steps/provision/testcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def start(self) -> None:
import guestfs # noqa: F401
except ImportError:
match_legacy = re.search(
r'(rhel|centos).*-7', self.image_url.lower())
r'(rhel|centos)\D+(6\.|7\.).*', self.image_url.lower())
if match_legacy:
self._instance.pci_net = "e1000"
else:
Expand Down

0 comments on commit 52236fd

Please sign in to comment.