Sha256: ab686b55a12fc39d1de931012b61a12bf111f6906d096daa496527962c11dfb4

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

module Bootdisk
  class DisksController < ::ApplicationController
    def generic_iso
      Bootdisk::ISOGenerator.new(Bootdisk::Renderer.new.generic_template_render).generate do |iso|
        send_data File.read(iso), :filename => "bootdisk_#{Setting[:foreman_url]}.iso"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_bootdisk-1.2.3 app/controllers/bootdisk/disks_controller.rb
foreman_bootdisk-1.2.2 app/controllers/bootdisk/disks_controller.rb
foreman_bootdisk-1.2.1 app/controllers/bootdisk/disks_controller.rb
foreman_bootdisk-1.2.0 app/controllers/bootdisk/disks_controller.rb