mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-26 17:25:22 +03:00
urlfetcher: Fix detection with latest ALT media
This commit is contained in:
parent
a183031793
commit
26046c5948
@ -1372,7 +1372,7 @@ class ALTLinuxDistro(Distro):
|
||||
if not self.fetcher.hasFile(".disk/info"):
|
||||
return False
|
||||
|
||||
if self._fetchAndMatchRegex(".disk/info", ".*%s.*" % self.name):
|
||||
if self._fetchAndMatchRegex(".disk/info", ".*ALT .*"):
|
||||
return True
|
||||
|
||||
logging.debug("Regex didn't match, not a %s distro", self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user