Creating a new model assertion which includes “core” because “pciutils” snap requires it. I added it to the my-model.json using the following source code:
,
{
"name": "core",
"type": "base",
"default-channel": "latest/stable",
"id": "99T7MUlRhtI3U0QFgl5mXXESAiSwt776"
}
The type is set to base, since the link below states that core22, core20, core18, core, & bare are all base snaps.
However, when I attempt to build the image I get the following error:
Error: Error preparing image: base "core" has unexpected type: os
Here is the screenshot:
To get it to build I need to change the type from base to core and it looks like this:
,
{
"name": "core",
"type": "core",
"default-channel": "latest/stable",
"id": "99T7MUlRhtI3U0QFgl5mXXESAiSwt776"
}
Why doesn’t it work as type set to base? Is there a command similar to snap info ...
that I can run to determine which type it is supposed to be?