[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Post Install Script Troubles
- From: "Johnston, Christopher (IDS DM&DS)" <cjohnston exchange ml com>
- To: "'kickstart-list redhat com'" <kickstart-list redhat com>
- Subject: RE: Post Install Script Troubles
- Date: Fri, 25 Apr 2003 16:09:28 -0400
Nasty ^Ms
Chris
-----Original Message-----
From: Patrick Smith [mailto:patms ev1 net]
Sent: Friday, April 25, 2003 6:06 PM
To: kickstart-list redhat com
Subject: RE: Post Install Script Troubles
Dont use wordpad to edit the files ;) I ran into the same problem recently,
notepad works fine for me, but anything else in Windows ruins it.
--
Regards,
Patrick Smith
Sr. Systems Administrator
Everyone's Internet/Rackshack.net
patms ev1 net
-----Original Message-----
From: kickstart-list-admin redhat com
[mailto:kickstart-list-admin redhat com]On Behalf Of Robert Denton
Sent: Friday, April 25, 2003 12:54 PM
To: 'kickstart-list redhat com'
Subject: Post Install Script Troubles
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:
. .. code? sound? usage
I have also tried the same script without the --nochroot and without the
/mnt/sysimage/ but that doesn't work either. Does anyone have any idea what
I am doing wrong here?
Thanks in advance,
Robert
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]