Hi all,

I created (cobbler 2.4.0) some Cobbler files, created a Management Class
and added the Management Class to a system.
This way, I want to install some pre-defined config files with the
cobbler deployed system.
However; after installing there's no trace of the files defined in the
managent class. I used the default kickstart as given
in /var/lib/cobbler/kickstarts/sample.ks.

For some reason, the Management class isn't called in the kickstart. How
to use a Management Class in een distro or System?

Cheers!

Winfried



[root@cobbler ~]# cobbler file report
Name                           : mgmt-class.txt
Action                         : create
Comment                        : testje met mgmt class config files
Group                          : root
Is Directory                   : False
Mode                           : 0400
Owner                          : root
Path                           : /root/bla3.txt
Template                       : /root/file-templates/mgmt-class.txt

Name                           : postinstall.txt
Action                         : create
Comment                        : Postinstall instructies
Group                          : root
Is Directory                   : False
Mode                           : 600
Owner                          : root
Path                           : /root/test.txt
Template                       : /root/file-templates/postinstall.txt

[root@cobbler ~]# cobbler mgmtclass report testje
Name                           : testje
Class Name                     : testje
Comment                        : testje
Files                          : ['postinstall.txt', 'mgmt-class.txt']
Is Definition?                 : True
Owners                         : ['admin']
Packages                       : []
Parameters/Variables           : {}


[root@cobbler ~]# cobbler system report
Name                           : rhel65
TFTP Boot Files                : {}
Comment                        : 
Enable gPXE?                   : False
Fetchable Files                : {}
Gateway                        : 192.168.1.254
Hostname                       : rhel65.blabla.bla
Image                          : 
IPv6 Autoconfiguration         : False
IPv6 Default Device            : 
Kernel Options                 : {}
Kernel Options (Post Install)  : {}
Kickstart                      : /var/lib/cobbler/kickstarts/sample.ks
Kickstart Metadata             : {}
LDAP Enabled                   : False
LDAP Management Type           : authconfig
Management Classes             : ['testje']
Management Parameters          : <<inherit>>
etc. etc.





_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to