| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-24-2007, 08:16 AM
|
#1
|
|
QmailToaster Developer
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220
Rep:
|
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!
|
|
|
|
02-25-2007, 06:37 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,779
|
And you are in the HOWTO equivalent of the "cd1" directory?
|
|
|
|
02-25-2007, 11:20 AM
|
#3
|
|
QmailToaster Developer
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220
Original Poster
Rep:
|
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.
|
|
|
|
02-25-2007, 05:09 PM
|
#4
|
|
Moderator
Registered: May 2001
Posts: 24,779
|
|
|
|
|
02-25-2007, 07:25 PM
|
#5
|
|
QmailToaster Developer
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220
Original Poster
Rep:
|
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.
|
|
|
|
02-26-2007, 07:59 AM
|
#6
|
|
Moderator
Registered: May 2001
Posts: 24,779
|
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.
|
|
|
|
02-27-2007, 06:19 AM
|
#7
|
|
QmailToaster Developer
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|