Create a Manifest Artifact

reference

mender-orchestrator-manifest-gen creates Mender Artifacts containing Manifests.

Installation

Prerequisites: The mender-artifact tool must be installed on your workstation. Follow the installation instructions here.

Download the generator tool from the repository:

curl -O https://raw.githubusercontent.com/mendersoftware/mender-orchestrator-support/0.4.0/modules/mender-orchestrator-manifest/module-artifact-gen/mender-orchestrator-manifest-gen
chmod +x mender-orchestrator-manifest-gen
sudo mv mender-orchestrator-manifest-gen /usr/local/bin/

Usage

Generate a Manifest Artifact from a Manifest YAML file:

mender-orchestrator-manifest-gen [options] <manifest> [-- [mender-artifact-options]]

For usage examples, see the Examples section.

Options

  • --artifact-name: Name for the generated Artifact (defaults to the manifest name)
  • --system-type: System types compatible with the Artifact (can be specified multiple times for multi-platform support)
  • --output-path: Output file path (default: orchestrator-manifest.mender)
  • manifest: Path to the Manifest YAML file
  • -- [mender-artifact-options]: Additional options passed directly to mender-artifact

The generated artifact contains:

  • Type: mender-orchestrator-manifest
  • Payload: The manifest YAML file
  • Provides: data-partition.mender-orchestrator-manifest.version
  • Clears: data-partition.mender-orchestrator-manifest.*

We welcome contributions to improve this documentation. To submit a change, use the Edit link at the top of the page or email us at .