Hi cobbler-dev,
On Tue, Jan 10, 2012 at 03:22:51PM -0500, Michael DeHaan wrote:
On Tuesday, January 10, 2012 at 1:14 PM, Christian Horn wrote:
there are some suse sles related things that could make sense to be included directly in cobbler.
Suming up the patch (against current git):
- autoyast_sample.xml now usable as shipped
- additional autoyast_complex.xml which utilizes these:
- new snippet that configurs kdump
- a post snippet which is a wrapper for snippets that can also be used on RHEL. Shell snippets which contain pure bash code are compatible. That way snippets can easily be shared between RHEL and SuSE deployments. I hope its sufficiently documented currently in the template.
- example snippet name_of_pure_shell_snippet which contains an echo to fill /etc/motd as example
- uses the existing hosts.xml snippet (just cosmetic modified)
- existing networking.xml modified, handles now hostname without domain and subnet->netmask conversion
Tested this for SLES11SP1:
- hostname, domainname setting - network config for one interface - 'cobbler status' properly getting triggered - after deployments 'zypper install something' is configured to install things from the install repo, like 'yum install' - no interaction required for the deployment
Notes: - I did not make the root password configurable, used a $rootpw but this is no cobbler default variable/not implemented by default - I dropped the package selection code as per Michaels note its also not in the Red Hat template/snippets - Also not included the snippet which displays suse style post snippets
send in a patch
Attached.
cheers, Christian