I've finished writing my kickstart file but one thing bugs me the whole day. I've searched all over the net, found numerous posts with different solutions and none of them helped me.
I did a fresh install from my
kickstart-ed ISO which contains several files. I would like to copy those files to the newly installed system and start one of those files as a service (it is a service).
This is my
%post right now:
%post --log=/root/ks-post.log exec < /dev/tty6 > /dev/tty6 2> /dev/tty6 chvt 6 clear cp /mnt/source/JOTC/src/mongod.conf /etc/ cp -r /mnt/source/JOTC/src/jotc/ /opt/ cp /mnt/source/JOTC/src/service /etc/init.d/jotc
Errors are fairly reasonable;
/mnt/source/JOTC/src/mongod.conf: no such file or directory.
However, if I switch to virtual terminal 2 manually and do a quick
ls /mnt/source/JOTC/src/ there IS that
What am I doing wrong?