[et-mgmt-tools] Using cobbler to mirror repos like updates/extras -- further information
Michael DeHaan
mdehaan at redhat.com
Fri Feb 23 20:04:14 UTC 2007
Msquared wrote:
> On Fri, Feb 23, 2007 at 02:14:26PM -0500, Michael DeHaan wrote:
>
>
>> Two kinds of mirrors, basically. Different concepts, used for different
>> things.
>>
>
> Ah, I see.
>
>
>> To verify that it does the right thing, run a "cobbler sync", and check
>> out the kickstart files as seen at
>> /var/www/cobbler/kickstarts/profilename/ks.cfg -- you should see a good
>> parameter passed in for "url" towards the top, plus references to your
>> repo in the middle (search for "repo") and also in post, where it
>> installs the repo file in /etc/yum.repos.d
>>
>
> Ah, I see. 'cobbler sync' builds the ks.cfg from the supplied kickstart
> file. I did notice that '$' must be escaped in the supplied kickstart
> file, since it's used to introduce ks meta data.
>
> Anaconda kindly generates anaconda-ks.cfg when it installs a system for
> you. Can that be used as a source for 'cobbler sync', as long as the '$'
> are escaped? If not, what other things ought to be done first?
>
Yes. In general, you don't have to escape all of the '$' characters, but
only the ones that cause
problems.
\$(list-hard-drives) is the only such example that requires mandatory
escaping in the cobbler files.
Generally this means anaconda-cfg.ks files can be used without modification.
> Regards, Msquared...
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
More information about the et-mgmt-tools
mailing list