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

Zack Perry zack.perry at sbcglobal.net
Thu Nov 15 00:54:22 UTC 2012


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 :-(

I will fix it.

Regards,

-- Zack


More information about the cobbler mailing list