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

Prep work for OCI support #920

Merged
merged 7 commits into from
Jun 5, 2024
Merged

Prep work for OCI support #920

merged 7 commits into from
Jun 5, 2024

Conversation

stgraber
Copy link
Member

@stgraber stgraber commented Jun 5, 2024

This updates a bunch of logic to make it less specific to any specific image server protocol.

Basically replacing the bulk of the assumptions that "simplestreams" is the only public image server protocol with instead assuming that when not talking the "incus" protocol, we're likely dealing with an image server.

It also removes a bit of legacy migration logic and ensures that any remote with an empty protocol is properly treated as an Incus server.

Lastly, the incus console logic is tweaked to properly handle containers that have stopped quickly before an interactive console can be set up.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@hallyn hallyn merged commit bb1246e into lxc:main Jun 5, 2024
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants