trying to create dirs in kickstart

bluethundr <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
hello kickstart!

 I am attempting to creating some mount points on the machines I
kickstart and then mount those volumes using the mount command in teh
%post section of my ks file. But that part of the kickstart isn't
working.

# Kickstart file automatically generated by anaconda.

install
# Use NFS installation media
nfs --server=192.168.1.250 --dir=/mnt/DVD64-1
lang en_US.UTF-8
network --device eth0 --bootproto dhcp --nameserver
192.168.1.44,71.250.0.12,4.2.2.2 --hostname newhost
rootpw --iscrypted $1$ptZMQiFw$hYQMhYk0XdOexGpc.bVWH/
firewall --enabled --port=22:tcp,80:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone America/New_York
bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
# 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 --initlabel
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.2 --size=0 --grow --ondisk=xvda
volgroup VolGroup00 --pesize=32768 pv.2
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00
--size=272 --grow --maxsize=544
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow

%post
# Create mount dir
mkdir /mnt/config

# Mount config dir
mount nas.summitnjhome.com:/mnt/nas/config /mnt/config

# transfer files
rsync -avzp /mnt/config/etc/* /etc/

# Add repos
# EPEL
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

# Remi
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

# DAG
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

# CentALT
rpm -Uvh http://centos.alt.ru/pub/repository/centos/5/i386/centalt-release-5-3.noarch.rpm

# unmount config dir
umount /mnt/config

# remove config dir
rm -rf /mnt/config

#update the system
yum repolist
yum update -y
yum upgrade -y


%packages
@base
@cluster-storage
@clustering
@core
@editors
@legacy-network-server
@mail-server
@network-server
@news-server
@server-cfg
@text-internet
@web-server
@smb-server
koan
puppet
keyutils
trousers
fipscheck
device-mapper-multipath
kmod-gnbd-xen
kmod-gfs-xen

Could someone offer some advice?

thanks!

-- 
GPG me!!

gpg --keyserver pgp.mit.edu --recv-keys F186197B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.