On 27 February 2012 16:54, André Gemünd <[email protected]>wrote:

> Hi,
>
> > * The import has reports an error or does it? I am not sure and that
> > is the problem it is not clear enough on there being an error when
> > importing from the DVD.
>
> I don't think that there was an error.
>
> > * $yum_repo_stanza does not work for my kickstart. It is build into
> > cobbler but I could not find a clear way of debugging why it would
> > not generate the entries in my kickstart file to point the newly
> > build server back to the cobbler server for OS rpms.
>
> I see. This is a bit confusing. yum_repo_stanza is for additional
> repositories during anaconda installation. E.g. I have EPEL in the repos
> variable in my profile and install packages from there in my kickstart. You
> can add the "Repo" parameter in your profile for that. See
> http://fedoraproject.org/wiki/Anaconda/Kickstart#repo


Fair enough.


>
> There is also yum_config_stanza in the %post section, which configures the
> base repositories on your installed system. For this to work, you need to
> set yum_post_install_mirror to 1 in /etc/cobbler/settings.
>

That setting is 1 by default. The $yum_config_stanza does not work for me.
The line in the kickstart that gets generated is:

wget "
http://cobbler2.example.com/cblr/svc/op/yum/system/testmachine.example.com";
--output-document=/etc/yum.repos.d/cobbler-config.repo returns an empty
file. There is no error in the logs. The file exists but is empty. So some
how the contents of this internal variable were not created. I would love
to debug this further but not sure how. man cobbler does not make mention
of any debugging or logging. Nor could I find an parameters in
/etc/cobbler/settings to change debug level. I have checked all the log
files for errors.



>
> > * The third problem is that the import of the DVD made symlinks but
> > broken ones.
> >
> > /var/www/cobbler/links
> > lrwxrwxrwx 1 root root 34 Feb 27 13:30 rhel5u7-x86_64 ->
> > /var/www/cobbler/ks_mirror/rhel5u7
> > lrwxrwxrwx 1 root root 34 Feb 27 13:30 rhel5u7-xen-x86_64 ->
> > /var/www/cobbler/ks_mirror/rhel5u7
>
> I don't understand that, actually. I guess the correct target would be
> /var/www/cobbler/ks_mirror/rhel5u7-x86_64?
>

The cobbler import command creates those symlinks... but it creates broken
symlinks so a bug in my opinion.

Regards

-- 
Gerhardus Geldenhuis
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to