I have started the transition of creating ubuntu-images using Ubuntu Core 18. So far, I have seen this “The road to core18” post with respect to updates.
I want to get an example model assertion file however I am experiencing some issues running ;
$ snap known --remote model series=16 brand-id=canonical model=core-amd64-18
I get the following error;
error: model (core-amd64-18; series:16 brand-id:canonical) not found
This page hasn’t been updated since August. I am trying to find the proper model assertion example for a simple pc-amd64 based architecture.
There is an additional post with an example model assertion: “Model assertions for core18”. When running the ubuntu-image command, I receive the following error:
I’m building core18 images successfully since quite a long time, both using the official and custom models. For instance I just ran this:
snap known --remote model series=16 brand-id=canonical model=ubuntu-core-18-amd64 >test.model
ubuntu-image snap -O out -d test.model
Which ended up creating an amd64 image. Tried it both with the latest deb and the current (slightly outdated) ubuntu-image snap from stable. The error message you’re getting feels to me as if our snapd is not up-to-date. Did you upgrade to the latest before running the builds?