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

Re: Kickstart with %post and RHEL 3.0 update 3



Mike McLean wrote:
Your ks file is not in unix text format. It has dos-style line endings.

You see, bash does not consider 0x0d be a whitespace character, so it becomes part of the last argument. It is as if you typed:

% ln -s /etc/rc.d/init.d/ks-post-reboot $'/etc/rc.d/rc3.d/S99ks-post-reboot\r'

You will have to use a program like dos2unix to convert the file. Another way to perform the dos to unix conversion is to edit your file with gvim or vim. Use this sequence


vim mykickstartfile
:set ff=unix
ZZ

Vim is available for the MS Windows platform, if you are editing there.

Greg



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