kickstart file help needed
I have downloaded a copy of AsteriskNOW (based on CentOS), what I need to do now is install some of my own configuration files and web pages. Once I downloaded the ISO image I opened it in magicISO, opened the kickstart file (AsteriskNOW-ks.cfg) and modified it to look like the following:
------------------------------------------------------ # AsteriskNOW 1.5 Kickstart file. install cdrom lang en_US.UTF-8 keyboard us firewall --disabled selinux --disabled firstboot --enabled authconfig --enableshadow --enablemd5 bootloader --location=mbr network --device eth0 --bootproto dhcp %packages @core @base @editors @text-internet @dialup @asterisk @development-tools ntp screen sox tftp tftp-server sharutils %post --nochroot #copy HR system files to server mkdir /mnt/sysimage/var/www/html/HR cp /mnt/sysimage/NEWFOLDER/HR/* /mnt/sysimage/var/www/html/HR ---------------------------------------------------------------------- NOTE: I have only added everything from %post down. I have more files to copy over but this is just for a test. Here are my problems: Problem 1: When I try to create the HR folder it doesnt create correctly but has a question mark on the end eg. HR? Problem 2: Nothing copies over into the HR folder, now this is probably because there is no folder named HR becauase it gets named HR? BUT im unsure if im referencing the source folder correctly. I created a folder named NEWFOLDER in the root of the CD, is this correct? Any help would be great. Thanks |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
http://www.linuxquestions.org/questi...needed-770897/ Closed the original in favour of the more sensibly placed dupe. |
All times are GMT -5. The time now is 07:48 PM. |