AW: late_command is in never-never-land?
Hi!
Just to show a (sligthly) different way :-)
>d-i preseed/late_command string wget -q -O -
>http://ahava/d-i/etch/late_command.sh >
>/target/root/late_command.sh && chmod
>u+x /target/root/late_command.sh && in-target '/root/late_command.sh'
wget -q -O - http://ahava/d-i/etch/late_command.sh | sh
You can do this chrooted, in-target or do the chroot in
late_command.sh:
chroot /target <<EOF
cmd1
cmd2
...
EOF
It's not better, but I find it a bit more elegant to pipe it directly
into a shell. *Might* lead to some problems you don't have with your
solution, though.
greez
Mario
Reply to: