LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 03-04-2005, 10:04 AM   #1
EStester
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Rep: Reputation: 0
How to specify Network Time Protocol Server in Kickstart script?


We need to set NTP server for each host we install using kickstart script. However, we did not see a field that allow us to specify NTP server address. Any ideas?

Thanks.
 
Old 03-06-2005, 07:19 AM   #2
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
If you have SAMBA running on the server, and have 'time server = yes" in the .conf file, then a simple line added to the script will do the trick

net time \\servername /set /y (substitute your real server name here)

This will sync all your windows clients to the time server every time they login.
 
Old 03-08-2005, 10:35 AM   #3
EStester
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you very much for the help.

Currently we don't have samba server running. Is there any other ways, for instance, using NFS?
 
Old 03-26-2005, 01:46 PM   #4
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
In your finish section of ks.cfg :
...cp /mnt/temp/scripts/ntp.conf /etc/ntp.conf ...
ensure as edcutis, ensure that NTP is enabled & the PC should sync on \init
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network kickstart without dhcp server mancdaz Red Hat 9 01-28-2012 05:38 AM
Network Time protocol ssg14j Linux - Networking 3 10-26-2005 03:58 PM
Network Time protocol ssg14j Programming 1 10-25-2005 09:11 AM
Network Time Protocol (NTP): Are you sure it's working? mchirico LinuxQuestions.org Member Success Stories 0 06-12-2004 06:00 PM
Network Time Protocol (NTP) for RH 7.3 LinuxQuest01 Linux - General 1 01-15-2003 03:48 PM


All times are GMT -5. The time now is 01:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration