Merge pull request #1971 from ogayot/fallback-offline-install-by-default

mirror: switch default policy to OFFLINE_INSTALL by default
This commit is contained in:
Dan Bungert 2024-04-12 08:19:48 -06:00 committed by GitHub
commit 75200b8091
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ fallback
^^^^^^^^
* **type:** string (enumeration)
* **default:** abort
* **default:** offline-install
Controls what Subiquity does when no primary mirror is usable. Supported values are:

View File

@ -269,7 +269,7 @@ class MirrorModel(object):
self.default_mirror = LegacyPrimaryEntry.new_from_default(parent=self).uri
# What to do if automatic mirror-selection fails.
self.fallback = MirrorSelectionFallback.ABORT
self.fallback = MirrorSelectionFallback.OFFLINE_INSTALL
def _default_primary_entries(self) -> List[PrimaryEntry]:
return [