Tom Brown wrote:
> No, it's not. Most likely you just haven't imported
this distro, so
> it's not defined, but let's make sure.
>
>
should be as if i replace $tree in the kickstart with url
--url=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64 it works as
expected
> Can you paste a "cobbler distro report --name=foo" && "cobbler
profile
> getks --name=bar" please?
>
>
>
# cobbler distro report --name=CentOS-5.2-xen-x86_64
distro : CentOS-5.2-xen-x86_64
architecture : x86_64
breed : redhat
created : Thu Jan 1 01:00:00 1970
comment :
initrd :
/var/www/cobbler/ks_mirror/CentOS-5.2-x86_64/images/xen/initrd.img
kernel :
/var/www/cobbler/ks_mirror/CentOS-5.2-x86_64/images/xen/vmlinuz
kernel options : {}
ks metadata : {}
tree build time : N/A
modified : Thu Jan 1 01:00:00 1970
mgmt classes : []
os version :
owners : ['admin']
post kernel options : {}
redhat mgmt key : <<inherit>>
redhat mgmt server : <<inherit>>
template files : {}
# cobbler profile getks --name=CentOS-5.2-xen-x86_64 | grep url
url --url=$tree
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
You have somehow created or imported the distro without having the
"tree" data in it.
cobbler distro edit --name=CentOS-5.2-xen-x86_64
--ksmeta="tree=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64"
Will put it back...
Just out of curiosity, is this an upgrade from a previous install? How
did this distro come to exist? Any chance of clearing out the ksmeta
field in the command line or web app? (Perhaps check
/var/lib/cobbler/backup ... to see what the config file looked like
before the RPM install, if this was an upgrade?)