The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Simple script to modify kickstart file beeloo Shell Programming and Scripting 7 05-15-2008 08:49 AM
kickstart file questions beeloo UNIX for Advanced & Expert Users 1 05-08-2008 05:55 PM
NFS not mounting during kickstart Andrek Linux 2 10-23-2007 08:39 PM
Red Hat kickstart from DVD? rhfrommn Linux 2 10-01-2007 11:12 AM
Redhat AS 3.0 Kickstart file issue Acleoma Linux 2 08-27-2004 06:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-01-2007
Registered User
 

Join Date: Mar 2007
Posts: 9
Kickstart File

Hi,
I was able to set up a kickstart to install Red Hat Enterprise thought a network.

I'm trying to enable a NTP time server in the post section of the kickstart file and also enable/disable a few services using chkconfig.

I can't seam to get it to work, can anyone help ? I don't beleive i have the correct synthax.

%post
/usr/sbin/ntpdate -s ntp.*****.**.*
/sbin/chkconfig -- isdn 0: off 1: off 2: on 3: off 4: on 5: off 6: off
.....
Reply With Quote
Forum Sponsor
  #2  
Old 10-02-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
Your commands seem correct, what exactly you can't do and what are the error messages ?
Reply With Quote
  #3  
Old 06-12-2008
Registered User
 

Join Date: Jun 2008
Posts: 1
George,

When I create my ks file I add the ntp.conf file with the ntp server configuration and this will copy over the original /etc/ntp.conf.

Then you can use the command ntpdate, but in this stage of the installation the server not recognize DNS name resolution, so you must use the IP instead the hostname. This is the example of my ntp part:

############################################################
echo "Installing ntp service"
/bin/cat /root/ntptmp.conf >> /etc/ntp.conf
/usr/sbin/ntpdate xxx.xx.xx.xxx
/sbin/chkconfig ntpd on
##############################################

and if you see I add the service just with chkconfig "service" on, by default this will start the service on level 3 and 5
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0