Project

General

Profile

« Previous | Next » 

Revision d577c21e

Added by Lukas Zapletal almost 6 years ago

Fixes #24109 - common kernelcmd param for all OSes

View differences:

app/models/operatingsystem.rb
end
end
def pxe_kernel_options(params)
options = []
options << params['kernelcmd'] if params['kernelcmd']
options
end
private
def set_family
......
attributes[:_destroy] = 1 if template_exists && provisioning_template_id_empty
(!template_exists && provisioning_template_id_empty)
end
# overriden by operating systems
def pxe_kernel_options(params)
[]
end
end

Also available in: Unified diff