Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirror: switch default policy to OFFLINE_INSTALL by default #1971

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

ogayot
Copy link
Member

@ogayot ogayot commented Apr 12, 2024

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.

This is similar in essence to #1816 but applies the policy to automated server installs as well.

If you are doing a desktop installation (or an automated server installation) in a private network with no Internet access, the mirror connectivity test will eventually timeout and the installer will switch to an "offline" installation. (let's call it semi-offline).

Going forward, I think we should have a new directive in autoinstall configuration mimicking use_during_installation from #1968, so that users can do a semi-offline installation without going through the mirror connectivity test at all.

@ogayot
Copy link
Member Author

ogayot commented Apr 12, 2024

@d-loose FYI this will change the default behavior on desktop too. Subiquity will automatically switch to a semi-offline installation if the mirror connectivity test fails.

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>
@ogayot ogayot force-pushed the fallback-offline-install-by-default branch from f399231 to 01338fa Compare April 12, 2024 12:37
@dbungert dbungert merged commit 75200b8 into canonical:main Apr 12, 2024
11 checks passed
@ogayot ogayot deleted the fallback-offline-install-by-default branch April 12, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants