Skip to content

packer-maas should clean machine-id automatically after customization (RHEL) #189

@noama-nv

Description

@noama-nv

If you customize an RHEL image using packer-maas, no matter what you do after the customization you need to clean the image, specially the machine-id of systemd for it to be a proper golden image. If you don't, it will generate an image that contains an initialized /etc/machine-id. That machine-id will be used in all deployed hosts and will create many problems with duplicated mac addresses and other issues that depend on that id being unique.

could not find myself how to customize this, this being a vital step it is something that should be done by packer-maas itself and not rely on the user. This step could be added as a default on option to clean whatever is good practice cleaning before shutting down to take the image snapshot.

Metadata

Metadata

Labels

RHELbugSomething isn't workingtriagedTriaged to be addressed in a given cycle

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions