LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Creating a custom Cent kickstart CD (https://www.linuxquestions.org/questions/red-hat-31/creating-a-custom-cent-kickstart-cd-531968/)

jakev383 02-24-2007 08:16 AM

Creating a custom Cent kickstart CD
 
I'm trying to create a custom Cent installation CD that will install just the RPMs I need and run a script after a reboot to compile some source code for me.
I've been following the How-To here (http://sipx-wiki.calivia.com/index.p...ipX_on_CentOS), and everything was going great until I got to the "Create repodata using createrepo" section. It failed with this:
[root@home QMT]# createrepo -v --baseurl="media://1156364963.862322" -g /QMT/CentOS/base/comps.xml /QMT/CentOS/RPMS/
Error: groupfile /QMT/CentOS/base/comps.xml cannot be found.

And the file is there. The serial for the media is what was found in .discinfo like it suggested.
Has anyone else run into similar issues or can offer some suggestions?
Thanks in advance!

unSpawn 02-25-2007 06:37 AM

And you are in the HOWTO equivalent of the "cd1" directory?

jakev383 02-25-2007 11:20 AM

Quote:

Originally Posted by unSpawn
And you are in the HOWTO equivalent of the "cd1" directory?

Tried both ways. The QMT dir is the the equivalent of the cd1 dir from the instructions.

unSpawn 02-25-2007 05:09 PM

Maybe this http://lists.rpmforge.net/pipermail/...er/000461.html is a clue?

jakev383 02-25-2007 07:25 PM

Quote:

Originally Posted by unSpawn

Maybe. I'll need to dig some more and do some more in-depth testing. For the moment I have the install ISO working even though I skipped that step.
Off hand, do you know how to make the kickstart ask for the IP information during installation? I know I can supply it all in the kickstart file itself, or select DHCP, but is there a way to have it ask the user for this info like it does for the root password?
Thanks again for the link.

unSpawn 02-26-2007 07:59 AM

Maybe. I'll need to dig some more and do some more in-depth testing
Well, IIRC mainly it says createrepo doesn't work with full paths and moving it to a subdir should work.


Off hand, do you know how to make the kickstart ask for the IP information during installation?
Sorry, can't help you with that.

jakev383 02-27-2007 06:19 AM

Quote:

Originally Posted by unSpawn
Maybe. I'll need to dig some more and do some more in-depth testing
Well, IIRC mainly it says createrepo doesn't work with full paths and moving it to a subdir should work.


Off hand, do you know how to make the kickstart ask for the IP information during installation?
Sorry, can't help you with that.

Thanks. I played with createrepo some more trying different things but decided that it wasn't that high of an issue for me - my install ISO is working, so I won't try and fix it ;)
Thanks again for your help. And from what I can tell, you can either set the network interface as DHCP or static in the kickstart file. Nothing else. There used to be an --option config, but it's been depreciated and no longer functions.


All times are GMT -5. The time now is 03:43 AM.