LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-23-2009, 12:39 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, 01:15 AM   #2
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Mandriva 2010.2
Posts: 148

Rep: Reputation: 24
Quote:
Originally Posted by traxy View Post
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
It look like your trying to open a Linux distro iso with a Window program to modify it.
I dont know about AsterixNOW but i think its just a dedicated linux distribution and should be installed on it own partition or just burn a the live cd copy.
This is from the install .pdf
Code:
Installation Procedure
1.     Download the AsteriskNOW ISO file, and create a CD image
       from the file, which is required before installation can begin. The
       process for burning a CD image will vary depending upon the
       CD authoring software you are using.
2.     Insert your newly created AsteriskNOW CD into the CD-ROM
       drive of the PC.
3.     Boot from the CD by restarting the PC. A basic AsteriskNOW
       boot menu with several options will be provided. For the
       standard graphical installer, simply press <Enter.>.
4.     From here, follow the self-explanatory on-screen prompts to
       guide you through the installation process.
Once installed you will be able to modify as much as you want.
 
Old 11-23-2009, 04:38 AM   #3
traxy
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Original Poster
Rep: Reputation: 0
What im trying to do is make a custom install CD based on AsteriskNOW but it installs a few other things (which I know I can add via a kickstart script). Currently this is not working as im having the problems described in my original post.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kickstart file help needed traxy Linux - Newbie 1 11-23-2009 12:54 AM
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


All times are GMT -5. The time now is 01:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration