Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 11-22-2009, 11:38 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
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.

lang en_US.UTF-8
keyboard us
firewall --disabled
selinux --disabled
firstboot --enabled
authconfig --enableshadow --enablemd5
bootloader --location=mbr
network --device eth0 --bootproto dhcp


%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.

Old 11-22-2009, 11:54 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.

Closed the original in favour of the more sensibly placed dupe.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Find kickstart file niravshah Linux - Newbie 13 12-07-2009 06:00 PM
Kickstart Error Error opening kickstart file (null): bad address Latitude Linux - Networking 0 06-03-2009 11:20 AM
kickstart; how-to info needed for multiple instances of RH OS's and multiple unique v Joe_Wulf Linux - Server 4 06-21-2007 11:18 PM
regarding kickstart file gimmereeson Linux - Server 1 01-14-2007 07:43 AM
missing kickstart file prince2242002 Red Hat 1 10-02-2006 12:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration