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

Re: d-i preseed/late_command to append a file content in the user's .bashrc



El 10/08/15 a las 03:26, Federico Bruni escribió:
> Il giorno lun 3 ago 2015 alle 15:19, Fernando Toledo
> <ftoledo@docksud.com.ar> ha scritto:
>> you must use in-target command to ejecute these stuff into the chroot
>> when installer is running
>>
>> d-i preseed/late_command string in-target cat
>> /etc/skel/.mystuff-bashrc >> ~/.bashrc
> 
> Thanks, no error during the installation but the cat command does not
> work. Perhaps the ~ does not work in that stage?
> 
> 
maybe, but if you want to update you /root/.bashrc i think that you can
put int on config/includes.chroot/root/.bashrc


-- 
Fernando Toledo
Dock Sud BBS
http://bbs.docksud.com.ar
telnet://bbs.docksud.com.ar


Reply to: