Revision a61a1344
Added by Johannes Scheuermann over 9 years ago
app/controllers/unattended_controller.rb | ||
---|---|---|
end
|
||
|
||
def coreos_attributes
|
||
@mediapath = @host.operatingsystem.mediumpath @host
|
||
end
|
||
|
||
def aif_attributes
|
app/models/operatingsystems/coreos.rb | ||
---|---|---|
'coreos'
|
||
end
|
||
|
||
# Simple output of the media url
|
||
def mediumpath(host)
|
||
medium_uri(host, "#{host.medium.path}/#{pxedir}").to_s
|
||
end
|
||
|
||
def url_for_boot(file)
|
||
PXEFILES[file]
|
||
end
|
Also available in: Unified diff
fixes #9362 - Add mediapath support to CoreOS