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.
On 12/26/2021 5:44 PM, Holger Wansing wrote:
Am 26. Dezember 2021 17:30:03 MEZ schrieb john doe <johndoe65534@mail.com>: >>>
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.
Actually I was more hoping for an equivalent of 'preseed/run' to the >'preseed/late_command'.
The late_command will not per default download the *.sh file.
and this is where Ubuntu differs from Debian:
"on a web server. In this example, if the preseed file sets preseed/run
to /scripts/late_command.sh then the file will be fetched from >http://autoserver.example.com/d-i/focal/./scripts/late_command.sh."
I would love to see a rewording of the above text which would clearly
state at what time the command is executed!!! :)
I realy appreciate your help.
1) https://help.ubuntu.com/lts/installation-guide/s390x/apbs02.html
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 292 |
Nodes: | 16 (2 / 14) |
Uptime: | 194:34:54 |
Calls: | 6,616 |
Files: | 12,166 |
Messages: | 5,315,462 |