How to use late_command in preseed file?

view full story

http://www.linuxquestions.org – Hi everyone, The need which made me come here and share the problem with you is that the proper usage of late_command in preseed file. I've prepare a preseed file which works fine, but the late_command should install a test script when installation finishes. what I need is: copying the script from the cdrom into /root directory of the system which is being installed, and execute it! the code I've tried is found from those who previously tried executing script after installation. but for me that doesn't work! d-i late_command string cp -a /cdrom/preseed/test.sh /target/usr/sbin; chmod 777 /u (HowTos)