Thanks to both James and Philip for their quick assistance. After reading still more on the list, I decided to try the cat -etv ks.cfg just to check, and sure enough, I had ^M all over the place....must have edited it somewhere I shouldn't have at some point. The tipoff was that in one test, I did find a /mnt/a? directory created. In this case it looks like my use of --chroot was unnecessary and confusing (to me). So, once I did the dos2unix on it, removed the --chroot completely, the following worked like a charm (but I'm still testing the details): #Post-Install %post #Create mount point and mount it /bin/mkdir /mnt/a /bin/mount 10.14.1.40:/local /mnt/a #Install and/or update RPMs /bin/rpm -ivh /mnt/a/rpms/apt-0.5.4cnc9-fr0.1.rh73.i386.rpm #Make sure ypbind is going to start right /bin/chkconfig --level 345 ypbind on #Copy in an autofs file with the tcp option intact /bin/cp /mnt/a/RedHat-7.3/RedHat/autofs /etc/init.d/autofs #Copy in dhcp2static script /bin/cp /mnt/a/RedHat-7.3/RedHat/dhcp2static /etc/dhcp2static /bin/chmod 744 /etc/dhcp2static #Copy in mii-diag script /bin/cp /mnt/a/RedHat-7.3/RedHat/mii-diag /bin/mii-diag /bin/chmod 755 /etc/mii-diag #add comment to /etc/motd echo "Kickstart-Installed Red Hat Linux `/bin/date`" >> /etc/motd Thanks again, as I'm sure more questions may arise. Eric Lambert -----Original Message----- From: james.oden@xxxxxxxxxxx [mailto:james.oden@xxxxxxxxxxx] Sent: Monday, March 03, 2003 2:09 PM To: kickstart-list@xxxxxxxxxx Subject: Re: %post assistance in RH7.3 > >The %post is the last section in my ks.cfg file, and looks like this: > > > >#Post-Install > >%post --nochroot > > > >#Install and/or update RPMs > >mkdir /mnt/a > >mount 10.14.1.40:/local /mnt/a > > > >echo "Installing apt-get RPM..." > >chroot /mnt/sysimage rpm -ivh > >/mnt/a/rpms/apt-0.5.4cnc9-fr0.1.rh73.i386.rpm > >echo "Done." > > The rpm command here won't see /mnt/a because you've chrooted to > /mnt/sysimage. > > You're not doing anything apart from the mount which benefits from > --nochroot, so I'd suggest something like this: > > %post --nochroot > mkdir /mnt/sysimage/mnt/a > mount 10.14.1.40:/local /mnt/sysimage/mnt/a > > %post > rpm -ivh /mnt/a/rpms/apt*.rpm > etc. Or they can be condensed into one using the --root option of rpm: %post --nochroot mkdir /mnt/sysimage/mnt/a mount 10.14.1.40:/local /mnt/sysimage/mnt/a rpm -ivh --root /mnt/sysimage /mnt/sysimage/mnt/a/rpms/apt*.rpm Cheers...james _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/kickstart-list