# Edge Pi Image Duplication

**URL:** <https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073>\
**Category:** General Discussion\
**Created:** [September 29, 2025, 7:47pm UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073 "2025-09-29T19:47:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [September 29, 2025, 7:47pm UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/1 "2025-09-29T19:47:56Z")

</div>

Looking for advice on the best way to duplicate a PI image for a mass production machine (small numbers)

On the PI (Raspberry Pi CM5) I run ignition and codesys. I want to create a master image for quick duplication. I tried setting one up, naming the gateway master image, re-imaged a new pi, changed the gateway name But when I connect it to the main ignition server for MQTT and EAM they over write each other. I assume as the serial or ID is the same for each image.

So now I’m thinking I just unzip necessary edge files but not actually run the gateway. Create a image then on each new instance run the files. That way each one will have a unique serial / ID.

Or am I over thinking this and there is a easier way ?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3bcdf2bfac3c21ed917949a53bf7b81ef0d492d1.png)

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [September 29, 2025, 10:51pm UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/2 "2025-09-29T22:51:30Z")

</div>

Are you changing the MAC address to the correct values for each PI? Most images overwrite the MAC with their own values, this is used for a lot of machine identification.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 30, 2025, 7:49am UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/3 "2025-09-30T07:49:55Z")

</div>

> [@craigb](#):
>
> duplicate a PI image

Do you mean "Pi" (π, small 'i') as in "Raspberry Pi" or something else?

> [@craigb](#):
>
> I run ignition and code sys.

Do you mean [CODESYS](https://en.wikipedia.org/wiki/CODESYS) (previously called CoDeSys)?

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [September 30, 2025, 8:57am UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/4 "2025-09-30T08:57:12Z")

</div>

> [@Transistor](#):
>
> Do you mean "Pi" (π, small 'i') as in "Raspberry Pi" or something else?

CM5 is a Raspberry Pi Compute Module 5.

> [@Transistor](#):
>
> Do you mean [CODESYS](https://en.wikipedia.org/wiki/CODESYS) (previously called CoDeSys)?

Codesys has a fully compiled soft PLC with realtime kernel built for Raspberry Pi.  
This is a very common pairing, especially on the likes of RevolutionPi hardware which provides UL listed hardware with real IO.

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [September 30, 2025, 11:52am UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/5 "2025-09-30T11:52:18Z")

</div>

This is correct, I have edited the original post.

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [September 30, 2025, 11:54am UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/6 "2025-09-30T11:54:41Z")

</div>

I will look into it, as far as I was aware the MAC was baked into the hardware and not transferred with the image but I will look into it thankyou.

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [September 30, 2025, 2:46pm UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/7 "2025-09-30T14:46:15Z")

</div>

For MQTT, assuming sparkplugB, you have to change the Node & Group to a unique combo. If not SparkplugB, you need to change the topic path to a unique path. Otherwise, yes, they are going to overwrite each other.

---

<div class="post-metadata">

**Author:** ![Clancy\_Cavanaugh](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@Clancy\_Cavanaugh](https://forum.inductiveautomation.com/u/Clancy_Cavanaugh)\
**Post date:** [October 1, 2025, 5:10pm UTC](https://forum.inductiveautomation.com/t/edge-pi-image-duplication/111073/8 "2025-10-01T17:10:56Z")

</div>

Not positive, but I think your issue is the uuid. Look for the file .uuid in the Ignition/data folder. If you are duplicating that file then you’ll have issues adding both to the gateway network.

I think you can delete this file on the duplicated gateway and it will generate a new one on startup based on this thread: [GAN - How to reset gateway Id/UUID? - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/gan-how-to-reset-gateway-id-uuid/95236)
