# Install as part of Image - reset identifiers?

**URL:** <https://discourse.crowdsec.net/t/install-as-part-of-image-reset-identifiers/1204>\
**Category:** crowdsec\
**Created:** [March 15, 2023, 1:32pm UTC](https://discourse.crowdsec.net/t/install-as-part-of-image-reset-identifiers/1204 "2023-03-15T13:32:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Just-Insane](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/just-insane/32/562_2.png) [@Just-Insane](https://discourse.crowdsec.net/u/Just-Insane)\
**Post date:** [March 15, 2023, 1:32pm UTC](https://discourse.crowdsec.net/t/install-as-part-of-image-reset-identifiers/1204/1 "2023-03-15T13:32:42Z")

</div>

Hello,

I’d like to install crowdsec as part of a Packer image to ease configuration and provide a baseline for future VMs built off that image.

The last time I tried doing this, when starting a new VM based on the image, it appeared in the cloud console as one device. It seems that the installation sets some identifier that I need to either delete and re-create, or prevent setting until the next boot.

I don’t see anywhere in the documentation that talks about this identifier for the cloud console. I do see a cloud credentials file, but it’s unclear how to re-generate that.

For reference, as part of the install script I have a line:

```auto
cscli console enroll <enroll key>

```

---

<div class="post-metadata">

**Author:** ![Just-Insane](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/just-insane/32/562_2.png) [@Just-Insane](https://discourse.crowdsec.net/u/Just-Insane)\
**Post date:** [March 15, 2023, 1:34pm UTC](https://discourse.crowdsec.net/t/install-as-part-of-image-reset-identifiers/1204/2 "2023-03-15T13:34:40Z")

</div>

I think I can move that specific line to be part of a terraform provision, which would also let me set the name that shows in the console based on the deployed VM name.
