Project

General

Profile

Download (345 Bytes) Statistics
| Branch: | Tag: | Revision:
class Suse < Operatingsystem

PXEFILES = {:kernel => "linux", :initrd => "initrd"}

# Override the class representation, as this breaks many rails helpers
def class
Operatingsystem
end

def pxe_type
"yast"
end

def pxedir
"boot/$arch/loader"
end

def url_for_boot(file)
pxedir + "/" + PXEFILES[file]
end

end
(55-55/64)