Click to See Complete Forum and Search --> : nfs kickstart install works, but cant copy


ness21
10-18-2002, 07:04 AM
Hi ,

I am using nfs to kickstart redhat 7.3. i am also using nfs to get the ks.cfg on the server.

this works fine, but for a post installation i want to copy a file over that i have on the nfs server to the client. it seems to be mounting, but i keep getting a portmap localhost server time out error and it doesnt copy the file over from the server to the client.

the code in the ks file i have is:

%pody

cat /proc/cmdline | grep cm ( i type cm at the boot prompt)

RETVAL=$?

if [$RETVAL -eq 0]; then

mkdir /usr/foo

mount 192.168.100.100:/mnt/data/kickstart /usr/foo (this dir is in the /etc/exports file)

cp XYfile3.1.tgz /usr/foo
umount 192.168.100.100:/mnt/data/kickstart

fi

can anyone tell me why its not copying the file over??
thanks for any help

Vanessa