[cobbler] Cobbler 2.4.0 sample.seed not rendering kickstart_done snippet?

James Cammarata jimi at sngx.net
Thu Nov 15 00:55:53 UTC 2012


On Wed, Nov 14, 2012 at 6:54 PM, Zack Perry <zack.perry at sbcglobal.net> wrote:
> I know what's going on now.  A bit of critical reading always helps:
>
> See this:
>
>     25      ## SAVE KICKSTART
>     26      #if $kickstart != ''
>     27          #if $breed == 'redhat'
>     28              #set saveks = "\nwget \"http://%s/cblr/svc/op/ks/%s/%s\" -O /root/cobbler.ks" % (srv, "system", system_name)
>     29          #else if $breed == 'vmware' and $os_version == 'esx4'
>     30              #set saveks = "\ncurl \"http://%s/cblr/svc/op/ks/%s/%s\" -o /root/cobbler.ks" % (srv, "system", system_name)
>     31          #else if $breed == 'vmware' and $os_version == 'esxi4'
>     32              #set saveks = "\nwget \"http://%s/cblr/svc/op/ks/%s/%s\" -O /var/log/cobbler.ks" % (srv, "system", system_name)
>     33          #else if $breed == 'debian'
>     34              #set saveks = "wget \"http://%s/cblr/svc/op/ks/%s/%s\" -O /target/var/log/cobbler.seed;" % (srv, "system", system_name)
>     35          #end if
>     36      #end if
>
> For Ubuntu, the breed is 'ubuntu', not 'debian'.  This conditional check is insufficient :-(

Yeah, this may have been part of the fixes recently, so check master.
If not, send me a pull request.


More information about the cobbler mailing list