Redhat Kickstart File Format
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 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 mongod.conf file. What am I doing wrong?
The Red Hat Kickstart installation method. Kickstart configuration files can be built three ways: By hand. Access To Installutil.installlog Is Denied When Installing A Windows Service. By using the GUI system-config-kickstart tool. The KickStart config file. There are three main sections to the config file: System info, e.g. Disk partitioning and network config; RedHat packages to install.