![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | 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. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kickstart File | Georgesaa | UNIX for Advanced & Expert Users | 2 | 3 Weeks Ago 07:17 AM |
| Simple script to modify kickstart file | beeloo | Shell Programming and Scripting | 7 | 05-15-2008 08:49 AM |
| 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 |
|
|||
|
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) # Kickstart file automatically generated by anaconda. install nfs --server=10.10.10.200 --dir=/vault/redhat/rhel5/5.1/x86_64 key --skip lang en_US.UTF-8 keyboard us xconfig --startxonboot network --device eth0 --bootproto static --ip 10.10.10.20 --netmask 255.255.255.0 --gateway 10.10.10.1 --nameserver 10.10.10.100--hostname abc network --device eth1 --onboot no --bootproto dhcp --hostname abc rootpw --iscrypted $1$r3I9vk75$JWCGlXqgYd0/55lfg09NJ. firewall --disabled authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/New_York bootloader --location=mbr --driveorder=sda --append="rhgb quiet" # 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 --drives=sda part /boot --fstype ext3 --size=100 --ondisk=sda part pv.6 --size=0 --grow --ondisk=sda volgroup VolGroup00 --pesize=32768 pv.6 logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=25600 logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=8192 logvol /abc --fstype ext2 --name=LogVol03 --vgname=VolGroup00 --size=25216 logvol /var --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=10240 %packages @editors @core @base @java @base-x @admin-tools kexec-tools device-mapper-multipath xorg-x11-utils xorg-x11-server-Xnest libsane-hpaio -sysreport %post chkconfig --del autofs chkconfig --del bluetooth chkconfig --del cpuspeed chkconfig --del dhcdbd chkconfig --del dund chkconfig --del gpm chkconfig --del hidd chkconfig --del ip6tables chkconfig --del iptables chkconfig --del irda chkconfig --del netconsole chkconfig --del pand chkconfig --del pcscd chkconfig --del rhnsd chkconfig --del wpa_supplicant chkconfig --del yum_updatesd mkdir -p /mnt/cd mount /dev/hda /mnt/cd cd /mnt/cd/Server rpm -i cpp-4.1.2-14.el5.x86_64.rpm rpm -i sysstat-7.0.0-3.el5.x86_64.rpm rpm -i ypserv-2.19-3.x86_64.rpm rpm -i ntp-4.2.2p1-7.el5.x86_64.rpm rpm -i am-utils-6.1.5-4.1.el5.x86_64.rpm rpm -i gdb-6.5-25.el5.x86_64.rpm rpm -i strace-4.5.16-1.el5.1.x86_64.rpm rpm -i bind-devel-9.3.3-10.el5.x86_64.rpm rpm -i bind-9.3.3-10.el5.x86_64.rpm rpm -i bind-chroot-9.3.3-10.el5.x86_64.rpm |
| Forum Sponsor | ||
|
|