The import command in my history is:
sudo cobbler import --path=rsync://linux.mirrors.es.net/centos/5.3/os/x86_64/
--name=centos53 --arch=x86_64
Here's the contents of that file, minus the uid part because I don't understand
what is encoded there. The os_version field was blank, I changed it to rhel5
in the webui to match the other distributions but that didn't appear to help.
$ cat /var/lib/cobbler/config/distros.d/centos53-x86_64.json
{"comment": "", "kernel":
"/var/www/cobbler/ks_mirror/centos53-x86_64/images/pxeboot/vmlinuz", "uid":
"...", "kernel_options_post": {}, "redhat_management_key": "<<inherit>>",
"kernel_options": {}, "tree_build_time": 0.0, "initrd":
"/var/www/cobbler/ks_mirror/centos53-x86_64/images/pxeboot/initrd.img",
"mtime": 1249586355.4657841, "template_files": {}, "ks_meta": {"tree":
"http://@@http_server@@/cblr/links/centos53-x86_64"}, "breed": "redhat",
"os_version": "rhel5", "mgmt_classes": [], "parent": "",
"redhat_management_server": "<<inherit>>", "arch": "x86_64", "ctime":
1241150695.039839, "owners": ["admin"], "name": "centos53-x86_64",
"source_repos": [], "depth": 0}
Bryan Schneiders
[email protected]
301-562-1900 ext 305
Michael DeHaan wrote:
> On 08/06/2009 03:28 PM, Bryan Schneiders wrote:
>> cobbler-1.6.6-1.fc10.i386
>>
>> I'm having a problem where my CentOS 5.2 i386, x86_64 and CentOS 5.3 i386
>> profiles contain repository information for the installation media but my
>> CentOS 5.3 x86_64 profile does not. This may be because of something I did,
>> but I can't figure out how to fix it.
>>
>> When I fetch a url such as
>> http://www.myserver.com/cblr/svc/op/yum/profile/centos53-i386, I get:
>>
>> [core-0]
>> name=core-0
>> baseurl=http://www.myserver.com:80/cobbler/ks_mirror/centos53-i386
>> enabled=1
>> gpgcheck=0
>> priority=1
>>
>>
>> [centos53-i386-updates]
>> name=centos53-i386-updates
>> baseurl=http://www.myserver.com/cobbler/repo_mirror/centos53-i386-updates
>> enabled=1
>> priority=10
>> gpgcheck=0
>>
>>
>> [centosplus-53-i386]
>> name=centosplus-53-i386
>> baseurl=http://www.myserver.com/cobbler/repo_mirror/centosplus-53-i386
>> enabled=1
>> priority=10
>> gpgcheck=0
>>
>> But when I fetch
>> http://www.myserver.com/cblr/svc/op/yum/profile/centos53-x86_64, I get the
>> same thing without the "core-0" repository..
>>
>> [centos53-x64-updates]
>> name=centos53-x64-updates
>> baseurl=http://www.myserver.com/cobbler/repo_mirror/centos53-x64-updates
>> enabled=1
>> priority=10
>> gpgcheck=0
>>
>>
>> [centosplus-53-x64]
>> name=centosplus-53-x64
>> baseurl=http://www.myserver.com/cobbler/repo_mirror/centosplus-53-x64
>> enabled=1
>> priority=10
>> gpgcheck=0
>>
>> I don't see differences in the output of 'cobbler report' or the ability to
>> select "core-0" in the webui profiles.
>>
>
>
> What command did you use to run the import in the second case? Also what
> is "cat /var/lib/cobbler/config/distros.d/distroname" for the second case?
>
> --Michael
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler