How can I fetch the Mender Artifact Name

How can I fetch the Mender Artifact Name (MENDER_ARTIFACT_NAME) from the up board?

On the device you run:

mender-client -show-artifact

It says that command not found. I found another alternative cat /etc/mender/artifact_info

It says that command not found. I found another alternative cat /etc/mender/artifact_info

Ah, then it probably is this:

mender -show-artifact

cat /etc/mender/artifact_info

This might not be representative in all situations (mostly there for legacy purposes) and is best to use mender -show-artifact

1 Like

Great, This worked. Thank you very much Mirza. I really appreciate your support.

1 Like