Redhat AS 3.0 Kickstart file issue


 
Thread Tools Search this Thread
Operating Systems Linux Redhat AS 3.0 Kickstart file issue
# 1  
Old 08-26-2004
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 reason the install is still to big almost like its grabbing packages I didn't add to the list. Here is a copy of the file before I made changes and after I made changes. I would appreciate it if someone would let me know if its a bug in RH AS 3.0 or if I am doing this wrong.

Before

install
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
mouse none
xconfig --card "ATI Mach64" --videoram 8192 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 24
network --device eth0 --bootproto static --ip 10.24.74.25 --netmask 255.255.255.192 --gateway 10.24.74.3 --hostname U19U7
.tomax.com
network --device eth1 --bootproto static --ip 10.24.75.41 --netmask 255.255.255.224 --gateway 10.24.74.3 --hostname U19U7
.tomax.com
rootpw --iscrypted $1$zpPr/suu$FK.Hcj9n87CtBcBLN79UO.
firewall --disabled
authconfig --enableshadow --enablemd5
timezone America/Boise
bootloader --location=mbr --append console=ttyS1
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all
#part / --fstype ext3 --size=1000 --ondisk=sda --asprimary
#part swap --size=8192 --ondisk=sda --asprimary
#part /tmp --fstype ext3 --size=1000 --ondisk=sda
#part /var --fstype ext3 --size=250 --ondisk=sda
#part /u02 --fstype ext3 --size=1 --grow --ondisk=sdb --asprimary
#part /u01 --fstype ext3 --size=1 --grow --ondisk=sda --asprimary

%packages
@ dialup
@ everything
@ compat-arch-support
kernel-smp
kernel
grub

%post


After

#Generated by Kickstart Configurator

#System language
lang en_US
#Language modules to install
langsupport --default=en_US
#System keyboard
keyboard us
#System mouse
mouse generic3ps/2
#Sytem timezone
timezone America/Boise
#Root password
rootpw welcome
#Reboot after installation
reboot
#Use text mode install
text
#Use interactive kickstart installation method
interactive
#Install Red Hat Linux instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part / --fstype ext3 --size 1000 --asprimary --ondisk sda
part swap --size 8192 --asprimary --ondisk sda
part /tmp --fstype ext3 --size 1000 --ondisk sda
part /var --fstype ext3 --size 250 --ondisk sda
part /u01 --fstype ext3 --size 1 --grow --asprimary --ondisk sda
part /u02 --fstype ext3 --size 1 --grow --asprimary --ondisk sdb
#System authorization infomation
auth --useshadow --enablemd5
#Firewall configuration
firewall --disabled
#XWindows configuration information
xconfig --depth=8 --resolution=800x600 --defaultdesktop=GNOME
#Package install information

%packages
glibc-headers
man
basesystem
pam
telnet
openmotif-devel
glibc
libaio-devel
chkfontpath
sysstat
unzip
vnc
XFree86-base-fonts
crontabs
tcl
openssh
coreutils
gdbm
glib-devel
cpp
at
bash
pdksh
compat-gcc-c++
XFree86-libs
tcp_wrappers
chkconfig
compat-glibc
net-tools
gnome-libs
lsof
rootfiles
logrotate
iputils
zip
rsh
XFree86-tools
tcpdump
xinitrc
mount
cpio
compat-db
grub
telnet-server
glibc-kernheaders
glibc-profile
net-snmp-utils
kernel-utils
compat-libstdc++-devel
net-snmp
glibc-devel
ftp
setarch
libgcc
rsh-server
man-pages
openmotif
XFree86
syslinux
vnc-server
filesystem
tar
autofs
grep
gcc
openssh-server
kudzu
gdbm-devel
make
binutils
perl
gzip
bind-utils
glibc-utils
openmotif21
XFree86-devel
glib
passwd
gdb
glibc-common
libaio
SysVinit
util-linux
libstdc++
setserial
nfs-utils
switchdesk
portmap
XFree86-twm
libstdc++-devel
gcc-c++
xterm
initscripts
traceroute
libtool
iproute
compat-libstdc++
sed
gnome-libs-devel
xinetd
dev86
XFree86-font-utils
compat-gcc
bzip2
openssh-clients
raidtools
which
rpm
lockdev

%post

Thanks for your time
# 2  
Old 08-27-2004
You have a lot of packages listed in the updated copy of the cfg file. Maybe they just take up a lot of space. I rarely install systems that don't have @everything since typically disk space is not an issue for me, especially if it is only a few GB.

The only advice I can offer is to do the install manually and select the packages you want. Once the install is complete you can login and look at /root/anaconda-ks.cfg. This is basically a kickstart file generated from the interactive install. I use this to base my kickstart files when a new version or feature comes out (it was really helpful to setup LVM on RAID with kickstart). There are definitely differences between the 2.1 and 3.0 %packages section, but I don't know what they are.
# 3  
Old 08-27-2004
Thanks for the reply and I understand what your saying about an everything install. The bad part to that is we use these servers in a datacenter for our customers and for security reasons and such we have a come up with a small standard install so we know exactly how each server is going to ack and what will be running on it. I have look at the default anaconda-ks.cfg file the bad part is unlike 2.1 where it listed the packages in the %package part redhat 3.0 just shows groups. So thank you for your time but still looking for a solution if anyone has one.
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

Ntp issue redhat 5.11

HI Admin, We are facing a weird issue with NTP. A physical server RHEL 5.11 is migrated as P2V. NTP was running & clocks are in sync on source server before migration. After the SVMotion, On the target Linux guest, the ntpd is not able to sync with any of the clocks except local. Forcefully... (1 Reply)
Discussion started by: snchaudhari2
1 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

Redhat 7.2 on vmware issue

I have Dell laptop having windows 8 vmware workstation 9 redhat 7.2 After installation it only get me into text mode instead f GUI Please help (4 Replies)
Discussion started by: hananabbas
4 Replies

5. Red Hat

[RedHat] ARP issue

Hello, I am setting up a new RedHat server with two network interfaces. These interfaces are on different subnets, and connected to the same firewall. I'm trying to reach a remote IP. It works fine from the first interface. The second interface however, is making ARP requests instead of... (0 Replies)
Discussion started by: Wanou85
0 Replies

6. Red Hat

DNS issue in Redhat 9

Hi all m newbie in linux and trying to setup my internal DNS server for local network.After messing with DNS for hours i am posting this. i have configured /etc/resolve.conf, hostname with domain name in /etc/sysconfig/network file,/etc/hosts file with local host entry and zone file... (1 Reply)
Discussion started by: Vaibhav.T
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

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... (2 Replies)
Discussion started by: Georgesaa
2 Replies

9. 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

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