%include installing wrong @groups

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

 



I am seeing a problem that is not documented at the redhat site. about
using %include /tmp/temp.file. here are the files ass the are seen on
the system I am installing. 
++++++++++++++++++++++++++++++++++++++
first the included file.
%packages
# redhat workstation as they see it. also if you want to add to this use
the
# file stored on hplxsv00:/var/ftp/pub/8.0/RedHat/base/comps.xml to
resolve
# dependancies and to find out what is in a group or meta group.
@ Workstation Common
@ GNOME Desktop Environment
@ KDE Desktop Environment
@ Development Tools
@ Kernel Development
@ Windows File Server
# being added to the image in hopes that they go away.
rsh-server
finger-server
telnet-server
#
am-utils
rwho
rwall-server
ncurses4
vim-X11
tcl
tk
ddd
compat-db
mailx
minicom
mysql
# here we are pulling out all none needed languages
-kde-i18n-British
-aspell-en-gb
-aspell-en-ca
-aspell-ca
-kde-i18n-Catalan
++++++++++++++++++++++++++cut out some removes here+++++++++++++++
-redhat-config-packages
-redhat-config-kickstart
-firstboot
-WindowMaker
-xisdnload
-joystick
-Maelstrom
-chromium
-freeciv
-tuxracer
-xboard
-gnome-games
-kdegames
-rhn-applet
-up2date-gnome
%post
removes for security reasons

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ks.cfg file
# passwd encrypted so users can not get around root with single user
mode
bootloader --location=mbr --md5pass=$1$jeOt1F.o$bz4miDC2HtN0alVRp4w2m.
clearpart --all
part /boot --fstype ext3 --size 120 --ondisk sda
part / --fstype ext3 --size 1 --grow --ondisk sda
part swap --size 8192 --ondisk sda
part /local --fstype ext3 --size 1 --grow --ondisk sdb


# disabled firewall we don't need this to do our jobs and it will get
# in the way of passing and sharing data.
firewall --disabled
auth --enablemd5 --useshadow

#this line does not seem to be working correctly..?
#XWindows configuration information
#Probe for video card
#Probe for monitor
xconfig  --depth 16 --resolution 1024x768 --defaultdesktop=GNOME
--startxonboot
%pre
mkdir /mnt/rich_tmp
mount theone:/var/ftp/pub /mnt/rich_tmp
cp /mnt/rich_tmp/master_ks_files/lower.ks-8 /tmp/test.include

%include /tmp/temp.file
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

problem is that the %packages is not installing what I requested.. but
what I want not installed and writing anaconda.cfg to this
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Kickstart file automatically generated by anaconda.

install
lang en_US
langsupport --default en_US.UTF-8
keyboard us
mouse generic3ps/2 --device psaux
xconfig --card "NVIDIA GeForce 2 MX (generic)" --videoram 32768 --hsync
31.5-37.9 --vsync 50.0-61.0 --resolution 1024x768 --depth 16
--startxonboot  --defaultdesktop
gnome
network --device eth0 --bootproto static --ip 15.8.29.223 --netmask
255.255.248.0 --gateway 15.8.24.1 --nameserver 15.235.128.51 --hostname
hplx0007.boi.hp.com
rootpw --iscrypted ejm9eq5M.vF6A
firewall --disabled
authconfig --enableshadow --enablemd5
timezone --utc MST7MDT
bootloader --location=mbr --md5pass=$1$jeOt1F.o$bz4miDC2HtN0alVRp4w2m.
# 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 /boot --fstype ext3 --size=120 --ondisk=sda
#part swap --size=8192 --ondisk=sda
#part /local --fstype ext3 --size=1 --grow --ondisk=sdb
#part / --fstype ext3 --size=1 --grow --ondisk=sda
%packages
@ Brazilian Support
@ British Support
@ Canadian Support
@ Catalan Support
@ Chinese Support
@ Danish Support
@ Dutch Support
@ Estonian Support
@ Finnish Support
@ French Support
@ German Support
@ Greek Support
@ Hebrew Support
@ Hungarian Support
@ Icelandic Support
@ Italian Support
@ Japanese Support
@ Korean Support
@ Norwegian Support
@ Polish Support
@ Portuguese Support
@ Romanian Support
@ Russian Support
@ Serbian Support
lrzsz
isdn4k-utils
wvdial

%post


%include

Use the %include /path/to/file command to include the contents of
another file in the kickstart file as though the contents were at the
location of the %include command in the kickstart file. 
-- 
****************
* Richard Wilson
* RHCE/HPUX SysAdmin
* rrwilson@xxxxxxxxxx
* Phone: (208)396-3197
* Pager: (208)396-5881, Ext. 2172
****************





[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