RE: Installing minimal number of packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just PXE booted a VM instance from this tiny.ks ( only changed the root
password ) this is what it ends up being...

248 Packages ( rpm -qa | wc -l )
Disk Space ( du -k --max-depth=1 | sort -n )

0       ./selinux
0       ./sys
8       ./home
8       ./initrd
8       ./mnt
8       ./opt
8       ./srv
16      ./lost+found
16      ./tmp
24      ./media
152     ./dev
192     ./root
5364    ./bin
5768    ./boot
8988    ./etc
12644   ./var
12704   ./sbin
87972   ./lib
262427  ./proc
510904  ./usr
907223  .

----------------------------------------------------------------------------
-------
tiny.ks
----------------------------------------------------------------------------
-------

lang en_US
langsupport en_US
keyboard us
mouse
timezone America/Chicago
rootpw --iscrypted $$$$$$$$$$$$$$$$$$$$$$$$$$$$$
reboot
text
interactive
install
url --url http://10.0.0.1/mrepo/centos4-i386/

zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size 256
part swap --size 512
part / --fstype ext3 --size 1 --grow

auth  --useshadow  --enablemd5
network --bootproto=dhcp
firewall --disabled
xconfig --depth=16 --resolution=1024x768 --defaultdesktop=GNOME
firstboot --reconfig

%packages --resolvedeps
sudo
kernel
grub
openssh-server
openssh
openssh-clients
joe
yum
curl
openldap-clients
xorg-x11-xauth
ntp
sysstat
sharutils

-anacron
-apmd
-autofs
-bluez-libs
-bluez-bluefw
-bluez-hcidump
-bluez-utils
-comps
-cups
-cups-libs
-desktop-file-utils
-dhcpv6_client
-diskdumputils
-dmraid
-eject
-finger
-lftp
-logwatch
-rpmdb-CentOS
-fbset
-freetype
-fontconfig
-htmlview
-ipsec-tools
-iptables
-irda-utils
-isdn4k-utils
-lockdev
-mailcap
-mdadm
-mgetty
-minicom
-mt-st
-nano
-nc
-netdump
-nfs-utils
-quota
-pcmcia-cs
-pinfo
-portmap
-rdist
-rmt
-rp-pppoe
-rsh
-statserial
-setserial
-slocate
-specspo
-stunnel
-sysreport
-system-config-securitylevel-tui
-system-config-network-tui
-talk
-tcpdump
-up2date
-vconfig
-wvdial
-wireless-tools
-ypbind
-yp-tools
-wireless-tools
-NetworkManager
-redhat-lsb
system-config-mouse
-pyxf86config
-rhpl
-libwvstreams
-ppp
-utemper
-wireless-tools

%post
mkdir -p /root/bin; cd /root/bin
wget -q http://10.0.0.1/mrepo/centos4-i386/install/post-install.sh
sh /root/bin/post-install.sh 2>&1 | tee >> /root/post-install.log
 

> -----Original Message-----
> From: kickstart-list-bounces@xxxxxxxxxx 
> [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Michael
> Sent: Monday, August 20, 2007 5:55 PM
> To: Discussion list about Kickstart
> Subject: Re: Installing minimal number of packages
> 
> Shabazian, Chip wrote:
> > You still get base.  A truly minimal install would be
> >
> > %packages --no-base
> >
> > But that would result in a largely unusable system, so you 
> need to add 
> > packages back in from that point.
> >
> > NOTE: I have not tested this on FC6, but expect it to be the same. 
> >
> >   
> 
> Is there not a happy medium somewhere in betwen?  I 
> definitely want a stripped system that includes rpm, and 
> basic functionality but I don't want X, or lots of bulk. 
> 
> Doing --no-base and adding back all the packages just to make 
> it function correctly seems tedious to get correct.
> 
> If that is the best way, can someone give me an example of 
> what they add back?
> 
> Michael
> 
> Michael
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.484 / Virus Database: 269.12.0/961 - Release 
> Date: 8/19/2007 7:27 AM
>  
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 8/19/2007
7:27 AM
 

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux