On Tuesday, January 10, 2012 at 1:14 PM, Christian Horn wrote:
Hi cobbler-devel,there are some suse sles related things that could make sense tobe included directly in cobbler.These pieces are currently here:https//fluxcoil.net/doku.php/cobbler/sles .Uwe, I think the existing suse pieces are from you, so youmight be able to point out some things I am missing.Here are my questions, please comment if things make senseto get included and in which way:- Currently cobbler comes with autoyast_sample.xml, I think of additionallyshipping a autoyast_complex.xml, with these things included:- snippet which sets up dump- a construct which allows sles-rootpw to be set if specifiedas ksmeta $rootpw
- code which allows selection of one of 3 package selectionswhich are selected via a ksmeta, minimal/tiny/big
- post snippet: disabling of some services
- post snippet: this deploys a snippet with pure shellcode(which works also for rhel and cleans up /etc/grub.conf),
and a wrappersnippet. The wrappersnippet makes it possiblereuse snippets written for rhel (containing shellcode) also forsles (in wrapping it in the xml code that autoyast expects).
Which of these look useful for inclusion? Should documentation happeninline as comments or in wiki?
- While the above works here for sles11, with some functions dropped I have thisalso here for sles9 and 10. These are separate template files, and separateinterface snippets for these other distros. Is this of interest to be included?- currently, when the networking.xml snippet is included and the hostnamedoes not contain a hostname it bails out with an error message.In the code here this is checked for using#if re.match('.*\..*', $hostname)- the current networking.xml is not adapted to use $network insteadof $subnet .The scripts here cope with both now, when changing this in git thenonly the $netmask has to be used I guess?- current cobbler git head uses the SuSE subdirectory, I am currently onlytesting with cobbler 2.2 in fedora updates-testing.- currently, autoyast.xml is not directly usable as cobbler template.It is xml valid, but the <!-- comments --> at the beginning seems to be theproblem. So users have to remove this bevore using.
I would suggest this file no longer be xml valid, instead using here## these## commentswhich are filtered out by cobbler later.Opinions on the points above welcome.cheers, Christian_______________________________________________cobbler-devel mailing list