Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
Paul Wise <email@example.com> schrieb:
> So, I was wondering if anyone has any ideas on this topic?
I would suggest a package such as "debian-oem-prep", which
contains an init script, which tests a file such a
/etc/wipe-all-traces-on-next-boot. If that files exists, all
sensitive host data like existing SSH hosts is being removed,
and debconf being fired up to configure a new host and domain
name. Also, it could execute script files from
/etc/debian-oem-prep.d (which allow additional site-specific
OEM customisation). Once debian-oem-prep is done, the
/etc/wipe-all-traces-on-next-boot is removed.
If anyone wants to prepare a OEM image, he would simply
install debian-oem-prep, touch /etc/wipe-all-traces-on-next-boot
and shutdown the virtual machine.