Revision 51e8d9d2
Added by Greg Sutcliffe over 10 years ago
app/controllers/unattended_controller.rb | ||
---|---|---|
def load_template_vars
|
||
# load the os family default variables
|
||
send "#{@host.os.pxe_type}_attributes"
|
||
|
||
# force static network configuration if static http parameter is defined, in the future this needs to go into the GUI
|
||
@static = !params[:static].empty?
|
||
end
|
||
|
||
def jumpstart_attributes
|
||
... | ... | |
@osver = os.major.to_i
|
||
@mediapath = os.mediumpath @host
|
||
@repos = os.repos @host
|
||
|
||
# force static network configuration if static http parameter is defined, in the future this needs to go into the GUI
|
||
@static = !params[:static].empty?
|
||
end
|
||
|
||
def preseed_attributes
|
Also available in: Unified diff
Fixes #4020 - enable @static to work on all OS template types