DOS linefeed/carriage return characters maybe?


On Tue, Sep 9, 2014 at 8:53 PM, Bill <[email protected]> wrote:

> Hi There,
>
>
>
> I have a problem to run the kickstart post-installation script on Red
> Hat/CentOS. The script is quite simple as follows:
>
>
>
> %post --log=/root/ks-post.log
>
> mkdir /home/tmp
>
> cd /root
>
> wget -nH http://192.168.1.10/afile -P /root/
>
> %end
>
>
>
> Basically, I tried to make a directory /home/tmp, and cd to /root and copy
> a file called “afile” to /root.
>
> The log file “ks-post.log” was created correctly, but the /home/tmp was
> create with a question mark at the end: /home/tmp?
>
> The file “afile” was copied to /root/?
>
> The log file showed the following error message:
>
> cd /root^M No such file or directory
>
>
>
> I have tried "--nochroot" option and prepend every directory name with 
> /mnt/sysimage/,
> but I have still got the same issues. Cd to /home/tmp showed cd /home/tmp^M/
>
>
>
> Thanks in advance for any help.
>
>
>
> Cheers,
>
> Bill
>
>
>
> _______________________________________________
> 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