Re: Is it possible to customise the d-i just to add an ssh authorized key for root

2025-01-24 Thread Philip Hands
Emanuele Rocca writes: > On 2025-01-24 12:08, Colin Watson wrote: >> You can do this with preseed/late_command >> (https://www.debian.org/releases/bookworm/amd64/apbs05.en.html#preseed-hooks, >> and see https://www.debian.org/releases/bookworm/amd64/apb.en.html for >> general advice on preseeding

Re: Is it possible to customise the d-i just to add an ssh authorized key for root

2025-01-24 Thread Philip Hands
Colin Watson writes: > On Fri, Jan 24, 2025 at 09:40:50AM +0100, PICCA Frederic-Emmanuel wrote: >> Hello, I would like to customize the debian-installer in order to allow root >> access once installed via an authorize key. >> >> so I need to put something like this in the /root/.ssh/ during the

Re: Is it possible to customise the d-i just to add an ssh authorized key for root

2025-01-24 Thread Emanuele Rocca
On 2025-01-24 12:08, Colin Watson wrote: > You can do this with preseed/late_command > (https://www.debian.org/releases/bookworm/amd64/apbs05.en.html#preseed-hooks, > and see https://www.debian.org/releases/bookworm/amd64/apb.en.html for > general advice on preseeding if you haven't used it before)

Re: Is it possible to customise the d-i just to add an ssh authorized key for root

2025-01-24 Thread Colin Watson
On Fri, Jan 24, 2025 at 09:40:50AM +0100, PICCA Frederic-Emmanuel wrote: > Hello, I would like to customize the debian-installer in order to allow root > access once installed via an authorize key. > > so I need to put something like this in the /root/.ssh/ during the > installation > > echo "s