mirror: switch default policy to OFFLINE_INSTALL by default
Automated installations and desktop installations will now switch to an offline installation by default. In this mode, only packages from the pool will be fetched. This should allow the installation to proceed when installing from a private network without external access to the internet. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
parent
1b7fc279ec
commit
01338fae05
|
@ -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:
|
||||
|
||||
|
|
|
@ -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 [
|
||||
|
|
Loading…
Reference in New Issue