LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-11-2006, 06:52 PM   #1
zeeple
Member
 
Registered: Sep 2006
Distribution: Fedora 8, RHEL 5
Posts: 62

Rep: Reputation: 15
Fedora Core 4 kickstart %include


Hi all,

I am installing linux via http with a kickstart file and I am having trouble getting the %include directive to work. Here is the set up:

at the boot prompt I type this:

linux ks=http://10.10.10.52/ks.cfg

Which points the installation to the kickstart file which lives on my webserver. Once the installation actually starts it reads the kickstart file just fine, and normally installs all of the packages over http from the same location as the kickstart file.

However, I tried changing the list of packages to this:

%include /var/build/linux/packages (which exists and is in the same dir as my ks.cfg)

but I get an error during install that that file does not exist. I have also tried

%include ./packages
and just
%include packages

But I keep getting the error. Can anyone who has dealt with this give me some advice as to how to tweak the include syntax to make it work? Thanks!
 
Old 09-12-2006, 08:45 AM   #2
zeeple
Member
 
Registered: Sep 2006
Distribution: Fedora 8, RHEL 5
Posts: 62

Original Poster
Rep: Reputation: 15
update:

another line I tried was:

%include http://10.10.10.52/packages

Since that is how I call the kickstart script.

Any ideas?
 
Old 09-12-2006, 09:08 AM   #3
zeeple
Member
 
Registered: Sep 2006
Distribution: Fedora 8, RHEL 5
Posts: 62

Original Poster
Rep: Reputation: 15
I also finally found this missive in the rh7.3 docs:

Kickstart

There is a new directive named %include which can be used with kickstart. This allows you to include the contents of other files as a part of your kickstart configuration. These files should either exist in the installer's initial ramdisk (initrd) or be generated dynamically in the %pre section of the kickstart configuration.

Given this, and the fact that I am booting from a cd, and then installing via http, where should I put the files I want to include?

Thanks.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 4 Kickstart Install Fails bpetersen Fedora - Installation 2 11-14-2006 09:21 AM
Does Fedora core include Apache 2? imsam Linux - General 4 03-07-2006 03:26 PM
KickStart fedora core 3 minimal exclude @base group mhiggins Fedora 1 01-31-2005 12:58 AM
%include directive in Kickstart configuration file deepika Linux - Newbie 0 07-24-2003 05:32 PM
How to include programs to kickstart intallation? Tommi Linux - General 1 05-01-2003 07:41 AM


All times are GMT -5. The time now is 12:11 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration