Build Ubuntu Core images from your storeΒΆ

Warning

This functionality requires a Dedicated Snap Store, also known as an IoT App Store.

Ubuntu Core image building from an air-gapped Enterprise Store requires passing extra options in the form of environment variables to ubuntu-image, including:

  • The URL of the Enterprise Store

  • Dedicated Snap Store credentials

  • The Dedicated Snap Store ID

user@admin-box:~$
export UBUNTU_STORE_URL="https://snaps.acme.internal"
user@admin-box:~$
export UBUNTU_STORE_AUTH="$(cat acme-onprem-credentials)"
user@admin-box:~$
export UBUNTU_STORE_ID="StoreIdXYZ"
user@admin-box:~$
ubuntu-image classic acme-core20-amd64.model

Note

The UBUNTU_STORE_ID is only required for classic images.

See the Ubuntu Core documentation for more information on Ubuntu Core.