LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   CentOS kickstart installation with nodefaults (https://www.linuxquestions.org/questions/linux-distributions-5/centos-kickstart-installation-with-nodefaults-669343/)

shubb 09-11-2008 07:49 PM

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.

unSpawn 10-11-2008 09:10 AM

Quote:

Originally Posted by shubb (Post 3277757)
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 :-]

shubb 10-13-2008 11:26 AM

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???

unSpawn 10-13-2008 01:13 PM

Quote:

Originally Posted by shubb (Post 3308799)
That wasn't exactly the "solution" I was looking for.

Yeah, I guessed you would say that :-]


Quote:

Originally Posted by shubb (Post 3308799)
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?


All times are GMT -5. The time now is 11:34 AM.