Documentation
¶
Overview ¶
The “gendeveloper1” tool can be used generate model assertions for use in tests. It reads the assetion headers in form of a JSON from stdin, and outputs a model assertion, signed by the test key to stdout.
Usage:
gendeveloper1 sign-model < headers.json > assertion.model
Example input:
{ "type": "model", "brand-id": "developer1", "model": "my-model", "architecture": "amd64", "gadget": "test-snapd-pc", "kernel": "pc-kernel=18", "timestamp": "2018-09-11T22:00:00+00:00" }
Click to show internal directories.
Click to hide internal directories.