Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
>>>>> Daniel Baumann <daniel.baumann@progress-technologies.net> writes:
>>>>> On 07/26/2011 12:33 PM, Samuel Thibault wrote:
>> Well, isn't it simply about not configuring a few packages?
> no; see openssh-server.postinst, in the discussed use-case you want
> to run everything in there except the creation of the host keys.
> the only left problem to work out is to define a way so that upon
> start, if enabled (which would be by default to yes upon boot), those
> packages that have not configured their "private" stuff yet, to run
> their postinsts again (to execute only those commands that create it,
> see my other mail before).
Given how a usual .postinst script is written, its repeated
execution isn't expected to do any harm.
AIUI, the .postinst scripts may be re-executed with
dpkg-reconfigure(8). The --all option may be handy, as well as
the --frontend=noninteractive and --unseen-only ones.
--
FSF associate member #7257
Reply to:
- References:
- support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
- From: Paul Wise <pabs@debian.org>
- Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
- From: Moritz Mühlenhoff <jmm@inutil.org>
- Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
- From: Daniel Baumann <daniel.baumann@progress-technologies.net>
- Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
- From: Samuel Thibault <sthibault@debian.org>
- Re: support for installing unconfigured systems (VM images, Debian Live images, preinstalled mobile/tablet images)
- From: Daniel Baumann <daniel.baumann@progress-technologies.net>