[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: At what time of the install process a script is executed with 'preseed/run'?

On 12/26/2021 5:44 PM, Holger Wansing wrote:

Am 26. Dezember 2021 17:30:03 MEZ schrieb john doe <johndoe65534@mail.com>:

From a preseed file I need to download and execute as the last command
a script.
I'm playing with 'd-i preseed/run string foo.sh' the script execute
successfully but does not look to be executed as the last command in the
install process.

Can someone confirm when 'preseed/run' is executed?

In other words, what is the best way to download and execute a script at
the end of the install process.

Not exactly answering your question, but the installation-guide
has a chapter about this, see

I guess, "preseed/late_command is what you want...

Actually I was more hoping for an equivalent of 'preseed/run' to the
The late_command will not per default download the *.sh file.

Thanks  alot for your answer.

John Doe

Reply to: