mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-12 19:16:18 +00:00
fc63269dc7
Captured images carried the machine-id of the source system, and images built with imgutil carry the one generated in the build root, so every node deployed from a profile shared it. That breaks anything keyed on it, such as DHCP DUIDs and journal identities. Capture now stores an empty /etc/machine-id. Diskless boot on EL and SUSE writes a stable per-node one derived from the node name and the DMI product UUID, as Ubuntu already does, using openssl since the initramfs has no sha512sum. Install to disk copies that machine-id into the target and renames the boot loader entries from the image to it. Otherwise kernel-install in post.sh adds a second set of entries under another ID.