Kickstart File


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Kickstart File
# 1  
Old 10-01-2007
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
.....
# 2  
Old 10-02-2007
Your commands seem correct, what exactly you can't do and what are the error messages ?
# 3  
Old 06-12-2008
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Unable to open input kickstart file curl#37

Hi, Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart Here am trying to include /tmp/swappart file from pre section under disks and partition section. Dont know where exactly am doing wrong My kickstart file... (3 Replies)
Discussion started by: Sumanthsv
3 Replies

2. Red Hat

Trouble creating RHEL 6.5 bootable image with custom kickstart file

Hi everyone, I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder. I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies

3. Fedora

Rhel 6.1 - How to create a kickstart file?

Can anyone tell me how you create a kickstart file for RHEL 6.1 install? I am new to this and wanting to learn Red Hat. I have a training guide that says to create one but it does not give you instructions on how to do so. (3 Replies)
Discussion started by: Saplmb
3 Replies

4. Red Hat

Networking in kickstart

I'm using a script in %pre that prompts for IP, hostname, etc. The answers are dumped out as variables and used to set up the config files in %post All works well. Now, it's being used to install the OS on an HP Proliant that's in a remote datacenter via iLO, and it takes about an hour to... (2 Replies)
Discussion started by: jnojr
2 Replies

5. Linux

Kickstart server

Hello everyone, I have problem while configuring kickstart server .i have performed some steps but still i am unable to configure kickstart server on CentOS 5.4. I have performed following steps:- yum install system-config-kickstart mkdir /kickstart mount /dev/cdrom /media cd /media... (2 Replies)
Discussion started by: karan chauhan
2 Replies

6. Red Hat

RH Kickstart Questions..

Hello, I am pretty new to using Linux and learning as I go, my setup is extremly simple, I have 1 virtual machine running on my laptop running (ubuntu 10.04), I've created a kickstart (Red Hat) file with the ksconfig. So I know have a config file for my Redhat.iso and my VM machine. What's... (1 Reply)
Discussion started by: NelsonC
1 Replies

7. Shell Programming and Scripting

Simple script to modify kickstart file

Hi, I would like to create a script so that it will ask me the following: 1) What is the ip address? 2) What is the gateway address? 3) What is the hostname? and then put the answer to the below kickstart file (kickstart.cfg) Here I included the kickstart.cfg: # Kickstart file... (9 Replies)
Discussion started by: beeloo
9 Replies

8. UNIX for Advanced & Expert Users

kickstart file questions

Hi, I have few questions to make this kickstart file to be more efficient: 1) I would like to reboot the server once the installation (included installed all the optional rpm) is done. 2) Is there a nicer way to install rpm packages? (Here I included the commands in my kickstart file) #... (1 Reply)
Discussion started by: beeloo
1 Replies

9. Linux

Redhat AS 3.0 Kickstart file issue

I am trying to create a custom ks.cfg file with redhat AS 3.0. I have a certain package list I would like to install so we have just the packages we need. The issue is in the file it show groups so I have removed them and added my list of packages as I would when useing this in AS 2.1 but for some... (2 Replies)
Discussion started by: Acleoma
2 Replies

10. Linux

Redhat Kickstart

Would anyone know how to set a NIC to 100 Full Duplex from within a kickstart bootdisk? I just added the Tigon3 module to the bootnet.img - it loads fine but auto-negotiates to 100 Half Duplex for some reason - are there any parameters I can pass on the boot disk to force it 100 Full appreciate... (2 Replies)
Discussion started by: silvaman
2 Replies
Login or Register to Ask a Question