LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 09-11-2008, 07:49 PM   #1
shubb
Member
 
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150

Rep: Reputation: 16
CentOS kickstart installation with nodefaults


I am trying to make a customized installer for CentOS. I have modified the kickstart file to include the package groups that I want. The Fedora documentation says that you can add the --nodefaults option to only install the packages that are mandatory, and not install the defaults package. According to the CentOS documentation, there is not an option for --nodefaults. So is there no way to only get the mandatory packages for the package groups other than editing the comps.xml and changing all the defaults to optional?

If I add the --nodefaults to the kickstart I get an error during installation saying that the package group 'development-libs --nodefaults' cannot be found.
 
Old 10-11-2008, 09:10 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
Quote:
Originally Posted by shubb View Post
If I add the --nodefaults to the kickstart I get an error during installation saying that the package group 'development-libs --nodefaults' cannot be found.
That kind of confirms what you wrote about CentOS not having "--nodefaults". Luckily you provided the solution as well :-]
 
Old 10-13-2008, 11:26 AM   #3
shubb
Member
 
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150

Original Poster
Rep: Reputation: 16
That wasn't exactly the "solution" I was looking for. I wanted a way to just include the mandatory (and not default) packages in the kickstart file, which apparently CentOS is not able to do. I wonder why they did not allow that option which RedHat does???
 
Old 10-13-2008, 01:13 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
Quote:
Originally Posted by shubb View Post
That wasn't exactly the "solution" I was looking for.
Yeah, I guessed you would say that :-]


Quote:
Originally Posted by shubb View Post
I wonder why they did not allow that option which RedHat does???
Because Fedora does not equal Red Hat and CentOS follows Red Hat Enterprise Linux?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimal centos via kickstart not working abcdefg Red Hat 5 11-01-2008 12:11 PM
Kickstart installation problems with CentOS 5.2 triley Linux - General 3 10-21-2008 12:37 PM
installation through kickstart sachin_malik Linux - General 1 02-24-2006 12:39 PM
Kickstart Installation hansi umayangan Red Hat 0 04-08-2005 12:20 AM
kickstart installation new2linux Linux - Software 2 04-15-2003 06:08 PM


All times are GMT -5. The time now is 02:02 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 Google+: linuxquestions
Open Source Consulting | Domain Registration