tripleo-puppet-elements/elements/remove-machine-id
Alex Schultz ab7ac88006 Set remove-machine-id to executable
We had previously added an element to remove the machine id from the
images however the script is not executable so it wasn't actually being
run as part of the image building process. This change sets
70-remove-machine-id to be executable so that /etc/machine-id will
actually be removed from the images during the building process.
Additionally this changes the element to clear the file rather than
delete it as if the file is missing, things may not work as expected.

Change-Id: Id3f8c510801f8fcc1fc03415b0ebd23a2ff9da4c
Closes-Bug: #1672361
2017-08-04 15:54:21 -06:00
..
post-install.d Set remove-machine-id to executable 2017-08-04 15:54:21 -06:00
README.md Add remove-machine-id element 2017-03-13 14:41:44 -06:00

README.md

================= remove-machine-id

Removes the hardcoded /etc/machine-id from the resulting image, so that it is regenerated during the next boot.

Leaving the file means that e.g. all instances will have the same machine-id.