[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: %post
- From: "Bodle, Donald E" <donald_bodle reyrey com>
- To: "'kickstart-list redhat com'" <kickstart-list redhat com>
- Subject: RE: %post
- Date: Thu, 16 Jan 2003 14:01:01 -0500
What I've done is written a shell script that is called in %post, which
contains a lot of actions I want taken such as your chkconfig command:
# make sure telnet,tftp, rsh, rlogin, and wu-ftpd are turned on
/sbin/chkconfig telnet on
/sbin/chkconfig wu-ftpd on
/sbin/chkconfig tftp on
/sbin/chkconfig rsh on
/sbin/chkconfig rlogin on
/sbin/chkconfig --level 2345 anacron off
/sbin/chkconfig --level 2 sendmail off
/sbin/chkconfig --level 2 crond off
/sbin/chkconfig --level 2 lpd off
/sbin/chkconfig autofs off
/sbin/chkconfig --level 2345 xfs off
Here's how I call it:
%post --nochroot
# some other actions that I want done in a nochroot environment.
# The script is called at the very end
# it resides in the root of the CDROM, so I move it to disk
cp /mnt/source/postscript /mnt/sysimage/tmp/postscript
# more other actions
# then I call it in a chroot environment
chroot /mnt/sysimage /tmp/postscript
Donald E. Bodle, Jr.
Sr. Systems Integration Engineer
Platform Development
The Reynolds and Reynolds Co.
(937) 485-1954
-----Original Message-----
From: Martinez, Carlos R [mailto:Carlos R Martinez schwab com]
Sent: Thursday, January 16, 2003 1:36 PM
To: 'kickstart-list redhat com'
Subject: RE: %post
Yes...
-----Original Message-----
From: Taylor, ForrestX [mailto:forrestx taylor intel com]
Sent: Thursday, January 16, 2003 11:17 AM
To: kickstart-list redhat com
Subject: Re: %post
Martinez, Carlos R wrote:
> This does not work.... I get a chkconfig usage error when executing it
> this
> way. So seems like it is finding it the chkconfig binary but it has
> problems. Any other suggestions/recommendations??
Do you have the telnet-server package installed?
Forrest
--
_______________________________________________
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]