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

Re: Preseed and execute a command at the end of the installation.



Joey Hess a écrit :
Clément DIEBOLD wrote:
  
How can I execute a command at the end of the debian installation?
    
Preseed the base-config/late_command, as documented in the preseed
documentation.

  
Thanks for your response.

I have tried to put :
base-config base-config/late_command   string mkdir /media/install; mount -t nfs 172.20.75.166:/home/install /media/install; cd /media/install; ./installation_silencieuse; umount /media/install; rmdir /media/install

like in the example, but it doesn't work. Ihave also tried to execute a smaller command like touch /root/test but, nothing works...

What happens?

Thanks.
-- 
Service Informatique
LMARC Université de Franche-Comté
24, chemin de l'Epitaphe
25000 Besançon
Tel : 03 81 66 60 53
Fax : 03 81 66 67 00
--

Reply to: