Sha256: d099ba86497197edced10d852f61841bf86fd0a4df698c6c8043337022cf2046
Contents?: true
Size: 439 Bytes
Versions: 5
Compression:
Stored size: 439 Bytes
Contents
class Archlinux < Operatingsystem PXEFILES = {:kernel => "linux", :initrd => "initrd"} # Simple output of the media url def mediumpath host medium_uri(host).to_s end # Override the class representation, as this breaks many rails helpers def class Operatingsystem end def pxe_type "aif" end def pxedir "boot/$arch/loader" end def url_for_boot(file) pxedir + "/" + PXEFILES[file] end end
Version data entries
5 entries across 5 versions & 1 rubygems