Adding state scripts to an existing snapshot artifact

pyxlwuff
Thu, 07 Sep 2023 12:16:17 +0000
General Discussions

Hi there,

I have an image created through mender-artifact write rootfs-image directly from a golden Raspberry Pi 4 device running Bullseye. This automatically creates a .mender artifact that I can then deploy to the mender server and onto the device. I’m wondering if there’s a way to slip in state scripts that run when the artifact is installed? mender-artifact modify doesn’t seem to have anything.

1 post - 1 participant