Revision 9a9ec5b1
Added by Daniel Lobato Garcia over 8 years ago
app/models/operatingsystems/freebsd.rb | ||
---|---|---|
# -as initrd we will use your custom FreeBSD-<arch>-<version>-mfs.img in boot
|
||
PXEFILES = {}
|
||
|
||
class << self
|
||
delegate :model_name, :to => :superclass
|
||
end
|
||
|
||
# Simple output of the media url
|
||
def mediumpath(host)
|
||
medium_uri(host).to_s.gsub("x86_64","amd64")
|
||
... | ... | |
"boot/FreeBSD-#{arch}-#{release}-mfs.img"
|
||
end
|
||
|
||
def self.model_name
|
||
superclass.model_name
|
||
end
|
||
|
||
def display_family
|
||
"FreeBSD"
|
||
end
|
Also available in: Unified diff
Refs #3809 - Enable Rails delegate cop