On 2010-03-22 14:45, Tom Brown wrote:
Exactly! So, why doesn't it use that when kickstarting? Where's the
determination made? It can't be the 'Kickstart'-variable, since all my
systems have the value '<<inherit>>' here, and only some of the
systems have the problem of getting the profile-ks instead of the
system-ks.
then what is 'different' about those systems?
They use a different profile (for xen, since they are virtual), that
much I've figured out. This is the output of 'cobbler profile report' on
two profiles, the first one causes the system to be installed with the
profile-ks, and the second one causes the system to be installed with
it's own system-ks:
r...@spacewalk # cobbler profile report
--name=centos5-x86_64-xen:1:SpacewalkPublicCert
Name : centos5-x86_64-xen:1:SpacewalkPublicCert
Comment :
DHCP Tag : default
Distribution :
CentOs-5.3-x86_64-xen:xen:1:Spacewalk-Public-Cert
Enable PXE Menu? : 1
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart :
/var/lib/rhn/kickstarts/wizard/centos53-x86_64-xen--1.cfg
Kickstart Metadata : {'org': 1}
Management Classes : []
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Red Hat Management Key :
1-e864f76fe07e3fef07dbf9457fb6bdf2,1-company_common
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : xenbr0
Virt CPUs : 1
Virt File Size(GB) : 3
Virt Path :
Virt RAM (MB) : 512
Virt Type : xenpv
r...@spacewalk # cobbler profile report
--name=centos5-x86_64:1:SpacewalkPublicCert
Name : centos5-x86_64:1:SpacewalkPublicCert
Comment :
DHCP Tag : default
Distribution : CentOs-5.3-x86_64:1:Spacewalk-Public-Cert
Enable PXE Menu? : 1
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart :
/var/lib/rhn/kickstarts/wizard/centos5-x86_64--1.cfg
Kickstart Metadata : {'org': 1}
Management Classes : []
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Red Hat Management Key :
1-f7ec311e3f8aba149a205c9f7e58f2b9,1-company_common
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : xenbr0
Virt CPUs : 1
Virt File Size(GB) : 3
Virt Path :
Virt RAM (MB) : 512
Virt Type : qemu
Both of these profile-ks contains the
'post_install_network_config'-snippet, but for some reason I get the
profile-ks for the systems using the first profile and the system-ks for
the systems using the second one.
/Jonas
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler