kick start...

stephan schutter rhl at farorbit.com
Mon Dec 1 23:05:27 UTC 2003


I have been playing around with kick start... and for some reason it 
refuses to do anything after the %post entry??!!! Why? What have I done 
wrong? Is this the intended behaviour?

ks.cfg:
#Generated by Kickstart Configurator

#System  language
lang en_US
#Language modules to install
langsupport --default=en_US
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone America/Chicago
#Root password
rootpw --iscrypted $1$mKH58VeQ$eCZkW0Os1IaysoI/Pt3gM.
#Reboot after installation
reboot
#Install Red Hat Linux instead of upgrade
install
#Use Web installation
url --url http://ttcpkg01/src/FC1
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part swap --recommended
part / --fstype ext3 --size 1 --grow
#System authorization infomation
auth  --useshadow  --enablemd5
#Firewall configuration
firewall --enabled --ssh
#XWindows configuration information
xconfig --depth=16 --resolution=1024x768 --defaultdesktop=GNOME 
--startxonboot
#Run the Setup Agent on first boot
firstboot --reconfig
#Package install information
%packages --resolvedeps
@ GNOME Desktop Environment
@ Administration Tools
@ System Tools
@ Printing Support
bash

%post

cat > /etc/resolv.conf <<EOF
nameserver 10.104.241.115
nameserver 10.114.215.20
EOF

rpm -Uvh http://10.114.64.26/src/FC1/oem/apt-0.5.15cnc2-1.fr.i386.rpm
rpm -Uvh http://10.114.64.26/src/FC1/oem/cxoffice-2.1.0-1.i386.rpm
rpm -Uvh http://10.114.64.26/src/FC1/oem/flash-plugin-6.0.79-1.i386.rpm
rpm -Uvh http://10.114.64.26/src/FC1/oem/ICAClient-7.00-1.i386.rpm
rpm -Uvh http://10.114.64.26/src/FC1/oem/j2re-1_4_2_01-linux-i586.rpm
rpm -Uvh 
http://10.114.64.26/src/FC1/oem/VMware-workstation-4.0.5-6030.i386.rpm


#Update and grab several packages from the net...
	echo rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing 
 >>/etc/apt/sources.list
	mkdir /etc/apt/gpg
	wget http://rpm.livna.org/RPM-LIVNA-GPG-KEY 
--directory-prefix=/etc/apt/gpg/RPM-LIVNA-GPG-KEY			
	rpm --import /etc/apt/gpg/RPM-LIVNA-GPG-KEY
	
		apt-get update			# update the rpm lists...

		#install some favorites off the web... (MP3 decoder, DVD Players, 
Media Players etc...)
		apt-get -y install synaptic		# graphical front end to apt...


		apt-get clean # clean up dowloaded files so they do not take up space...





More information about the fedora-test-list mailing list