Adding state scripts to mender-configure artifacts generated via GUI

Hi @dmitrijsan,

Thanks for reaching out and the perfect description. While I don’t have a direct solution for you, two pointers to possibly proceed:

  • it is possible to manually create mender-configure artifacts using the mender-artifact tool (in fact, this is required if you want to use signing). This way you can add state scripts.
  • alternatively, think about extending the mender-configure update module to suit your needs. The mechanism is invoked with the Update Module filename as the identification, so as long as you keep it you can modify it as you wish. This way you could both keep the UI mechanisms, as well as avoid shipping additional scripts.

Greetz,
Josef