# Artifact for all device types

**URL:** <https://hub.mender.io/t/artifact-for-all-device-types/2006>\
**Category:** General Discussions\
**Created:** [June 4, 2020, 4:10am UTC](https://hub.mender.io/t/artifact-for-all-device-types/2006 "2020-06-04T04:10:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashanthjbabu](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/prashanthjbabu/32/1157_2.png) [@prashanthjbabu](https://hub.mender.io/u/prashanthjbabu)\
**Post date:** [June 4, 2020, 4:10am UTC](https://hub.mender.io/t/artifact-for-all-device-types/2006/1 "2020-06-04T04:10:19Z")

</div>

Hello,  
I’d like to create an artifact which can be run on all device types . Lets say I have an “script” artifact , this artifact basically runs a shell command which is the same for all of my devices . Now I have a range of say 1000 devices all of which have a varied set of device types ( let say 10 different device types ) . Is there a way for me to create an artifact or a deployment where I can use this one “script” artifact to run on all of these 1000 devices without manually specifying the device types ? Sort of like a device type “all” or a wildcard device type .  
Thanks,  
Prashanth

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [June 4, 2020, 6:10am UTC](https://hub.mender.io/t/artifact-for-all-device-types/2006/2 "2020-06-04T06:10:52Z")

</div>

Unfortunately there isn’t, at the moment. We have discussed adding such  
functionality, but for now you will need to specify the ‘-t’ argument to  
mender-artifact multiple times to get a list of supported device types.

---

<div class="post-metadata">

**Author:** ![ibi](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ibi/32/1337_2.png) [@ibi](https://hub.mender.io/u/ibi)\
**Post date:** [August 12, 2021, 9:22am UTC](https://hub.mender.io/t/artifact-for-all-device-types/2006/3 "2021-08-12T09:22:54Z")

</div>

I’m also interested in this feature and since it’s been a year since last reply would be good to know if anything has changed, planned or still not possible to achieve this?

Another question is can a device have multiple device type definitions?

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 12, 2021, 9:40am UTC](https://hub.mender.io/t/artifact-for-all-device-types/2006/4 "2021-08-12T09:40:31Z")

</div>

> [@ibi](#):
>
> I’m also interested in this feature and since it’s been a year since last reply would be good to know if anything has changed, planned or still not possible to achieve this?

No change, it’s not on the current road map, as far as I know.

> [@ibi](#):
>
> Another question is can a device have multiple device type definitions?

No, a device can only have one device type.

---

<div class="post-metadata">

**Author:** ![mho](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mho](https://hub.mender.io/u/mho)\
**Post date:** [January 29, 2023, 2:44pm UTC](https://hub.mender.io/t/artifact-for-all-device-types/2006/5 "2023-01-29T14:44:20Z")

</div>

+1 to this feature. We have artifacts that support multiple device types. But, when we add a new device type to our platform, all our older artifacts do not work for this new device type.
