[root@sl0 kickstarts]# cobbler system getks --name=sl1
|less
[...] repo --name=zsl6-x86_64 --baseurl=http://192.168.123.3/cblr/links/sl6-x86_64 repo --name=zepel-6-x86_64 --baseurl=http://192.168.123.3/cobbler/repo_mirror/zepel-6-x86_64 repo --name=source-1 --baseurl=http://192.168.123.3/cobbler/ks_mirror/sl6-x86_64 [...]
So, the $yum_repo_stanza expanded into three kickstart
repo statements!
Where did the repo --name=source-1 came from?
the one with the name 'source1' is the distribution's repository. these aren't listed when you do a 'cobbler repo list'. Its intended behavior.
Ah. Wasn't aware of this. Maybe this should be part of the documentation?
help with documentation is definitely welcome :)
Based on reviewing the above I assume zsl6-x86_64 is the same thing?
You are correct. Also, I recalled now, I tried the 'import' once, and then I renamed the repo. Could that be the reason why I see such "duplicates"?
So ya.. importing is what would have done it. I'm not sure that distro add would touch this. I've never actually used 'distro add'. I'd say that is why you see the duplicates. You must be using a distro+profile pairing for this.
Do you need to have a separate copy of this repository, or would could you juse use the one created by the creation of the distribution?
Actually, I know that having the source-1 doesn't have any negative impact. It just looked not clean and I was trying to find a way to make the set up more tidy.
kewl