Re: Common pre-imaging scripts in Debian
On 27/03/17 10:19, Sam Morris wrote:
> It seems that every image-building tool has to re-implement the process
> of removing SSH host keys, /etc/machine-id, /var/lib/dbus/machine-id
> and so on before the image is actually created.
For those who may not already be aware, some sort-of prior art is
virt-sysprep[1], which TTBOMK originates more on the Red Hat side of
things but is also in libguestfs-tools in Debian. Package-based hooks
still have potential use, just if one is going to implement this sort of
procedure it's worth making sure one hasn't missed anything relevant
from the virt-sysprep list to start with.
-RTT
[1] http://libguestfs.org/virt-sysprep.1.html
Reply to: