
It looks like DOS linefeed/carriage return characters issue, however, the kickstart file was created on Red Hat machine using vi. From: Richard Andrews [mailto:bflatmaj7th@gmail.com] Sent: Tuesday, September 09, 2014 9:13 PM To: Bill Cc: luv-main@luv.asn.au Subject: Re: kickstart post-installation script issues DOS linefeed/carriage return characters maybe? On Tue, Sep 9, 2014 at 8:53 PM, Bill <billy2048@gmail.com> 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 luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main