[pve-devel] [RFC installer 2/6] add proxmox-auto-installer

Christoph Heiss c.heiss at proxmox.com
Thu Sep 21 13:39:31 CEST 2023


On Thu, Sep 21, 2023 at 01:30:33PM +0200, Thomas Lamprecht wrote:
>
> Am 21/09/2023 um 13:16 schrieb Christoph Heiss:
[..]
> >   Sending simple JSON-formatted logs to an HTTP endpoint or even using
> >   the rsyslog protocol come to mind and would be a good solution for
> >   this, I think.
> >   Or, if the answer file is read from an (USB drive) partition, write
> >   the log there?
>
> I think this should be added to the config as option and default to
> "stop-and-wait-for-human-intervention", i.e., show error in a prompt
> and wait.
Yeah, seems even better to make it a conscious choice for
administrators with a sensible default.

>
> We can then add other reporting mechanisms in the future, possibly
> dependent on where the config is pulled from.
>

[..]
> > Further, a way to run commands in the finished installation chroot could
> > be pretty useful too, e.g. to create some files in /etc comes to mind.
>
> I would like to avoid having such things from the start, let's keep
> it simple for now and collect feedback when this is then released.
> As then, we can decide which mechanism make sense as native feature
> and if we really want such a general hook that can allow users to
> break lots off stuff and assumptions and still say "well I used the
> official installer", i.e., cause support overhead.
No objections here either - I was just spilling out some of my thoughts
while messing around with it for testing.
Esp. the latter is quite a good point, how to handle that "correctly"
without causing us pain.






More information about the pve-devel mailing list