Revision 95a66717
Added by Marek Hulán over 10 years ago
app/models/operatingsystems/solaris.rb | ||
---|---|---|
def jumpstart_path medium, domain
|
||
resolv_nfs_path medium.jumpstart_host, medium.jumpstart_dir, domain
|
||
end
|
||
# Override the class representation, as this breaks many rails helpers
|
||
def class
|
||
Operatingsystem
|
||
end
|
||
|
||
# Does this OS family support a build variant that is constructed from a prebuilt archive
|
||
def supports_image
|
||
... | ... | |
"Solaris"
|
||
end
|
||
|
||
def self.model_name
|
||
superclass.model_name
|
||
end
|
||
|
||
private
|
||
def resolv_nfs_path host, dir, domain
|
||
host = host + ".#{domain.name}" unless host =~ /\./
|
Also available in: Unified diff
Fixes #3962 - Refactor class overwriting