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:
commit
75200b8091
|
@ -327,7 +327,7 @@ fallback
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
* **type:** string (enumeration)
|
* **type:** string (enumeration)
|
||||||
* **default:** abort
|
* **default:** offline-install
|
||||||
|
|
||||||
Controls what Subiquity does when no primary mirror is usable. Supported values are:
|
Controls what Subiquity does when no primary mirror is usable. Supported values are:
|
||||||
|
|
||||||
|
|
|
@ -269,7 +269,7 @@ class MirrorModel(object):
|
||||||
self.default_mirror = LegacyPrimaryEntry.new_from_default(parent=self).uri
|
self.default_mirror = LegacyPrimaryEntry.new_from_default(parent=self).uri
|
||||||
|
|
||||||
# What to do if automatic mirror-selection fails.
|
# What to do if automatic mirror-selection fails.
|
||||||
self.fallback = MirrorSelectionFallback.ABORT
|
self.fallback = MirrorSelectionFallback.OFFLINE_INSTALL
|
||||||
|
|
||||||
def _default_primary_entries(self) -> List[PrimaryEntry]:
|
def _default_primary_entries(self) -> List[PrimaryEntry]:
|
||||||
return [
|
return [
|
||||||
|
|
Loading…
Reference in New Issue