On Wed, Mar 7, 2012 at 7:31 AM, Bernie Wu <[email protected]> wrote: > Hi Listers, > > I have a box running rhel5.5 with a repository “ /repo/rhel5.5/x86_64/ “ > containing the following directories: > > - base-pkgs ( copy of DVD ) > > - epel > > - misc > > - extras ( empty directory ) > > - updates ( empty directory ) > > > > My /etc/yum.repos.d contains the following : > > - dvd.repo > > - epel.repo > > - misc.repo > > - extras.repo > > - updates.repo > > > > > > I then mounted the DVD and imported it into cobbler. > > > > This is what “cobbler list “ shows: > > > > distros: > > rhel55-x86_64 > > rhel55-xen-x86_64 > > > > profiles: > > rhel55-x86_64 > > rhel55-xen-x86_64 > > > > systems: > > > > repos: > > rhel5.5-base-pkgs > > rhel5.5-epel > > rhel5.5-extras > > rhel5.5-misc > > rhel5.5-updates > > > > images: > > > > My questions are : > > 1. could I have imported the DVD from the repo tree ? > > 2. do I have to import the epel and misc directories from > /repo/rhel5.5/x86_64 ? > > · do I use the same syntax that I used to import the DVD to import > the epel and misc rpm’s ? > > · will the import place the epel and misc files in the same > ks_mirror location ? >
Maybe, maybe not. Cobbler looks for specific things when importing - certain directory structures - so it may not have found things where it expected them. What you could have done, is to use "cobbler distro add" using the files, assuming you have the anaconda kernel/initrd somewhere on disk. You'd have to make all of those files available via the web server, most preferably by copying them to ks_mirror. Really, importing the DVD is the easiest method because it handles all that for you. After the distro add, you'd have to do "cobbler repo add" to pick up all the extras, and "cobbler profile add" to create your base profiles (import handles all of that for you). > 3. do I have to change the current contents of my /etc/yum.repos.d to > point to /var/www/cobbler/ks_mirror or do I create a new repo just for > cobbler and point it to the ks_mirror You don't have to, if you're already mirroring the repos elsewhere. > That’s it for now. > > TIA for any advice and insight on how to set up cobbler. > > Bernie Wu > > > > > ________________________________ > > The information contained in this e-mail message is intended only for the > personal and confidential use of the recipient(s) named above. This message > may be an attorney-client communication and/or work product and as such is > privileged and confidential. If the reader of this message is not the > intended recipient or an agent responsible for delivering it to the intended > recipient, you are hereby notified that you have received this document in > error and that any review, dissemination, distribution, or copying of this > message is strictly prohibited. If you have received this communication in > error, please notify us immediately by e-mail, and delete the original > message. > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
