|
kickstart installation issue with %post
I am trying to do a kickstart install; generally I never had any problems, but in this case the %post section is never executing. The rest of the installation goes through fine. I am posting my cfg file, any suggestions would be greatly appreciated:
install
cdrom
key --skip
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp
#network --device eth0 --onboot yes --bootproto static --ip 192.168.203.8 --netmask 255.255.255.0 --gateway 192.168.203.2 --nameserver 192.168.203.104
rootpw --iscrypted $1$yNzidLli$.mvja4xO61CLfrBBqI0UH/
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Toronto
bootloader --location=mbr --driveorder=sda
clearpart --all --initlabel
part / --fstype ext3 --size=100 --grow
part swap --size=256 --grow --maxsize=512
zerombr yes
reboot --eject
%packages
@editors
@text-internet
@core
@base
@server-cfg
-mysql-devel
arpwatch
sysstat
dstat
lynx
-aide
kexec-tools
device-mapper-multipath
imake
-mysql
-unixODBC
-MySQL-python
-mysql-connector-odbc
-libdbi-dbd-mysql
-emacs-leim
-psgml
-emacspeak
-zisofs-tools
-vnc
-xdelta
-OpenIPMI-tools
-openldap-clients
-bluez-hcidump
-zsh
-bluez-gnome
-slrn
-fetchmail
-mutt
-elinks
-cadaver
-nss_ldap
-readahead
-krb5-workstation
%post --nochroot
(
echo
echo "################################"
echo "# Running Post Configuration #"
echo "################################"
# Get latest RPM updates via ftp
echo "ftp connect to server... "
ftp -n 192.168.1.9 <<EOF
user anonymous -ks@`hostname`
binary
prompt
mget *.rpm
quit
EOF
rpm -Uvh *.rpm
/sbin/chkconfig acpid off
/sbin/chkconfig avahi-daemon off
/sbin/chkconfig iptables off
/sbin/chkconfig mcstrans off
/sbin/chkconfig microcode_ctl off
/sbin/chkconfig restorecond off
/usr/sbin/groupadd amc
mkdir -p /pool/home/
/usr/sbin/useradd -d /pool/home/joe/ joe
/bin/chgrp -R amc /pool/home/joe
/usr/sbin/usermod -p '$1$LeHv25Si$ijh8SrkMBPDGE.TnxB03' joe
) 1>/root/post_install.log 2>&1
|