LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 11-23-2009, 12:38 AM   #1
traxy
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.

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
 
Old 11-23-2009, 12:54 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


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 07:00 PM
Kickstart Error Error opening kickstart file (null): bad address Latitude Linux - Networking 0 06-03-2009 12:20 PM
kickstart; how-to info needed for multiple instances of RH OS's and multiple unique v Joe_Wulf Linux - Server 4 06-22-2007 12:18 AM
regarding kickstart file gimmereeson Linux - Server 1 01-14-2007 08:43 AM
missing kickstart file prince2242002 Red Hat 1 10-02-2006 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 AM.

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