On Thursday 12 July 2012 13:54:39 Harshad Joshi wrote:Below are some lines which should work, but don't and therefor I've commented
> Has anybody modified or tweaked preseed.cfg that has hooks related to d-i?
# Run late_command script to set additional things up
#d-i preseed/include string /core-pkgs.cfg
#d-i preseed/late_command string preseed_fetch /scripts/late_command.sh
/root/late_command.sh > /dev/null
#d-i preseed/run string /scripts/late_command.sh
Note that I haven't tried hooks with absolute urls, since I want my scripts to
be portable. But one should be able to (for example) wget <url> and then execute
it in late_command.
> I would like to see a working example of it.
The most extended and likely accurate examples I've found are on Philip Hands'
> Weblinks can also do good.
site, who's also the maintainer of the preseed (src) package:
- http://users.telenet.be/mydotcom/howto/linux/automatic.htm (Post Installation
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
Archive: firstname.lastname@example.org" target="_blank">http://email@example.com