Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
Getting late to discussion, apologies for that.
2011/7/26 Jonas Smedegaard <email@example.com>:
> On 11-07-26 at 12:03pm, Paul Wise wrote:
>> We were thinking that it might be nice to add support to
>> openssh-server for installing the package, not generating the host
>> keys and then generating them on first boot. debconf pre-seeding could
>> be one way to do that, but it would be quite specific and a more
>> general solution might be desirable.
>> So, I was wondering if anyone has any ideas on this topic?
> Uhm, I did have an idea for this, but have forgotten it again now.
> Cc'ing Hector who might recall our discussion on this exact issue a few
> weeks ago...
Indeed, openssh keys as well as udev fpostinst creates
/etc/udev/rules.d/70-persistent-net.rules which hardcodes MAC
addresses. Maybe some other packages are as well affected.
Jonas and I discussed this problem and we had some random ideas. We
discussed on allowing preinst and postinst in two stages, one stage
being a 'generic' way and the other a 'unique' way.
So basically preinst/postinst would only run generic part when image
is generated and the unique part would be executed once the image
boots in the final device.
Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.