prepare-device: add Model Service reference URL#141
Merged
alfonsosanchezbeato merged 2 commits intocanonical:24from Apr 13, 2026
Merged
prepare-device: add Model Service reference URL#141alfonsosanchezbeato merged 2 commits intocanonical:24from
alfonsosanchezbeato merged 2 commits intocanonical:24from
Conversation
The Model Service should be accessed using its proper URL. A forward will generally be setup from the legacy Serial Vault URL to the new Model Service as part of the Model Service provisioning process, but you should aim to use the proper URL whenever possible. New customers being onboarded shouldn't have a Serial Vault at all, so the serial-vault-partners URL won't be helpful to them. Signed-off-by: Dilyn Corner <dilyn@dilyn.cc>
Member
alfonsosanchezbeato
left a comment
There was a problem hiding this comment.
Thanks for this - small nit
| snapctl set registration.proposed-serial="\"$(date -u)\"" | ||
|
|
||
| # If you are using the Model Service, use the below: | ||
| snapctl set device-service.url="https://api.snapcraft.io/v1/" |
Member
There was a problem hiding this comment.
This is fine, but I would prefer to have the two options commented out instead of both uncommented
Contributor
Author
There was a problem hiding this comment.
Fair. Commented out both and tweaked the comment (s/use/uncomment/).
Users should know which is appropriate and uncomment accordingly. Signed-off-by: Dilyn Corner <dilyn@dilyn.cc>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Model Service should be accessed using its proper URL. A forward will generally be setup from the legacy Serial Vault URL to the new Model Service as part of the Model Service provisioning process, but you should aim to use the proper URL whenever possible. New customers being onboarded shouldn't have a Serial Vault at all, so the serial-vault-partners URL won't be helpful to them.
There are a few other changes currently in-flight which should coincide with this one happening, though I'd argue this takes precedent.
canonical/brand-store-documentation#111
canonical/ubuntu-core-docs#337
canonical/snap-docs#259