![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 ..... |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Your commands seem correct, what exactly you can't do and what are the error messages ?
|
|
#3
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |