3 ms·
You may know this but for others who may not: there are tools like virt-sysprep that can (among other things) inject a random seed into disk images. If you clo
by jlgaddis 9y ago
You may know this but for others who may not: there are tools like virt-sysprep that can (among other things) inject a random seed into disk images.
If you clone/generate VMs from one "master" image, running virt-sysprep (or similar) is one of the steps you should do right before launching a new instance (inject a new random seed, wipe out any SSH host keys, etc.)
Even DigitalOcean missed doing this step a while back.
- JdeBP 9y agoI was about to mention the same thing. A pass to make an image unique before bootstrapping it is, or should be, a well-known thing. Remember the hoo-hah over unique machine SIDs in Windows NT. And there is of course the Freedesktop world's systemd-firstboot for making unique machine IDs in images in D-Bus and systemd.