Thanks very much Erik,

The problem solved. Didn't know this trick of vi. The script is working very
well now.

Cheers,
Bill

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Erik Christiansen
Sent: Tuesday, September 09, 2014 9:50 PM
To: [email protected]
Subject: Re: kickstart post-installation script issues

On 09.09.14 21:19, Bill wrote:
> It looks like DOS linefeed/carriage return characters issue, however, 
> the kickstart file was created on Red Hat machine using vi.

On opening the file again, on the Red Hat machine using vi, what is the
result of typing:

:set ff ? <CR>

If it's "fileformat=dos", then vi (which is mostly aliased to vim these
days) has been influenced to produce LF/CR line endings, either by
configuration or by opening a tainted file to make the new file.

To repair, type:

:set ff=unix
:wq

Now the file should be good.

Erik

--
Animals can be driven crazy by putting too many in too small a pen.
Homo sapiens is the only animal that voluntarily does this to himself.
                                                         - Lazarus Long

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to