Ubuntu Core image¶
Download official model assertion file¶
Official model assertions signed by Canonical can be directly fetched from the store. The available model assertions are the following:
ubuntu-core-22-tegra-jetson
ubuntu-core-22-tegra-jetson-candidate
ubuntu-core-22-tegra-jetson-beta
ubuntu-core-22-tegra-jetson-edge
ubuntu-core-22-tegra-jetson-dangerous
ubuntu-core-22-tegra-jetson-dangerous-candidate
ubuntu-core-22-tegra-jetson-dangerous-beta
ubuntu-core-22-tegra-jetson-dangerous-edge
Note
The model assertions that have -dangerous in their name are of grade: dangerous and can be used to make modifications to the image before installation. This should not be used in production!
The model assertions can be fetched and saved with the following command:
snap known --remote model authority-id=canonical series=16 brand-id=canonical model=<model-name> > ubuntu-core-jetson.model
Alternatively, the model assertions can be downloaded in JSON format from the official model repository. However, they need to be converted into .model files by signing them before they can be passed to the ubuntu-image command.
Build the image¶
In order to build the image, the model file simply needs to be passed to the ubuntu-image snap command.
ubuntu-image snap ubuntu-core-jetson.model
The resulting image will be named pc.img and can be installed by following the steps described in How to program an Ubuntu image.
Further steps¶
For further steps regarding customization of the image, please refer to the official Ubuntu Core documentation. You can skip the step to download a model assertion.