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

kickstart difficulties?



Hello,
	I'm trying to install rh 72 on a box using kickstart. I'm having two
problems, the first relating to the languagesupport line, the second
related to timezone, i've checked this file against other kickstart files
and i do not see the problem. If anyone can help i'd appreciate it.
Here's the file.
Thanks.
Dave.
### Installation Language
lang en_US
### Installed Languages
languagesupport --default en_US en_US

### Network Configuration
network --bootproto=dhcp --hostname=testrh --device=eth0
#network --bootproto static --ip 192.168.0.1 --netmask 255.255.254.0
--gateway 192.168.0.1 --nameserver 192.168.0.254 

### Source File Location
cdrom
#nfs --server porkchop.redhat.com --dir /mnt/test/qa0301.0/i386	

### Ethernet Device Configuration
device ethernet 3c509

### Keyboard Configuration
### Will get set to 'us' by default 
### if nothing specified in /etc/sysconfig/keyboard
keyboard us

### Partitioning Information
### Whether to clear out the Master Boot Record (yes/no)
### Which partitions to format (--linux/--all)
###      --linux - only format existing linux partitions
###      --all   - format all existing partitions
### Which partitions to set up on new system as well 
### as size of those partitions
### Specify software RAID partitions (optional)
zerombr yes
clearpart --linux
part /boot --size 35
part swap --size 128
part / --size 1000 --grow --maxsize 1400
#part raid.0 --size 80 --ondisk sda
#part raid.1 --size 80 --ondisk sdb
#raid swap raid.0 raid.1 --level 1 --device md0
install

### Perform kickstart installation in text mode
text

### Stop at each screen during the kickstart
### installation
#interactive

### Mouse Configuration
### Will only setup 3 types of mice
###     generic        - 2-button serial
###     genericps/2    - 2-button ps/2
###     msintellips/2  - MS Intellimouse
### All three can be setup with or without 3-button
### emulation
### Run 'mouseconfig --help' in order to see other
### supported mouse type and make appropriate change
### NOTE: You will need to run 'mouseconfig' manually
### after installation if you have a non-ps/2 mouse
### and are installing X, as a ps/2 mouse is setup
### by default
#mouse generic --device ttyS0
mouse generic3ps/2

### Firewall Configuration
### options are high, medium, and disabled
# firewall --high --trust eth0 --ssh --port 1234:udp
firewall --medium


### Time Zone Configuration
### Will get set to 'US/Eastern' if ZONE is missing
### from /etc/sysconfig/clock or if file is missing entirely
timezone US/Eastern

### X Configuration
### Will skip X configuration
### You may wish to run Xconfigurator manually after system installation
skipx
### You can uncomment and modify this line if you know the X
configuration for your system
#xconfig --server "SVGA" --monitor "viewsonic g773" --depth 16
--resolution 800x600 --defaultdesktop=GNOME  --startxonboot --card
"Matrox Millennium" --videoram 1024

### Root Password Designation
### e.g. 'rootpw ThisIsThePassword' will get root's password to
### "ThisIsThePassword"
rootpw password
#rootpw --iscrypted g.UJ.RQeOV3Bg

### Reboot system after installation complete
reboot

### Authorization Configuration
auth --useshadow --enablemd5

### Boot Loader Configuration
### GRUB is default bootloader
### lilo command has been replaced with bootloader
bootloader --location=mbr
#bootloader --location=mbr --append hdd=ide-scsi --password=GRUBpasswd

### Package Designation
### The package names, as well as the groups they are a part of can be
### found in the /RedHat/base/comps file; individual packages can be
### specified by entering their names one per line;
### groups (e.g. 'X Window System') can be specified
### by appending a "@" in front of the group name;
### e.g. '@ X Window System'
%packages
@ Base
@ Laptop Support
aumix
awesfx
sox
bind-utils
nfs-utils
nmap
openssh
openssh-clients
ppp
fetchmail
pine
openssh-server
samba
samba-client
samba-common
  perl
  perl-DBI
  perl-DBD-Pg
  postgresql
  postgresql-libs
  postgresql-server
  postgresql-devel
  unixODBC
apache
mod_perl
mod_ssl
php
mt-st
tcpdump
emacs
emacs-nox
bc
dump
screen
sudo
@ Kernel Development
libxml2
rmt
pspell
portmap

### Commands to be run immediately after this file has been parsed
%pre
echo "Kickstart-installed Red Hat Linux `/bin/date`"

### Commands to be run post-installation
%post
echo added by kickstart >> /etc/inittab
echo s1:2345:respawn:/sbin/mingetty ttyS1 >> /etc/inittab
echo added by kickstart >> /etc/securetty
echo ttyS0 >> /etc/securetty
echo ttyS1 >> /etc/securetty
echo pts/0 >> /etc/securetty
echo pts/1 >> /etc/securetty
echo ttyp0 >> /etc/securetty
echo ttyp1 >> /etc/securetty

Attachment: ks.cfg
Description: Binary data


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