Re: Post Install Script Troubles

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

 



On Fri, 25 Apr 2003, Robert Denton wrote:

> Hello all, I am installing RH9 over HTTP and I am using a kickstart file on
> the same server.  The installation itself runs flawlessly and every aspect
> of the ks.cfg seems to work except for the %post portion.  I am trying to
> create a few directories as well as using the "sample" offered in the
> redhat.com tutorial.  Here is the script:
> 
> %post --nochroot
> echo "Kickstart-installed RH9 on `/bin/date`" > /mnt/sysimage/etc/motd
> mkdir /mnt/sysimage/var/www/html/sound
> mkdir /mnt/sysimage/var/www/html/code
> 
> This script seems to run, but not the way I want it to. (Note that the line
> that starts with echo is from the redhat tutorial:
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickst
> art2-postinstallconfig.html)
> 
> The directories are created but with a question mark after them, and the
> motd file is not modified, but a file called motd^M is created with the
> correct verbiage in it.  Thus an ls -a of the html dir produces:


Don't use Windows editors!!!



-- 
Please, reply only to the list.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux