Project

General

Profile

xenserver.rb.diff

Fernando Brunelli Costa, 01/04/2019 05:38 PM

View differences:

/usr/share/foreman/app/models/operatingsystems/xenserver.rb 2019-01-03 14:37:47.082274770 -0200
2 2
  PXEFILES = {:kernel => "boot/vmlinuz", :initrd => "install.img", :xen => "boot/xen.gz"}
3 3
  MBOOT = "boot/pxelinux/mboot.c32"
4 4

  
5
  # sets the prefix for the tfp files based on the os / arch combination
6
  def pxe_prefix(medium_provider)
7
    "boot/#{self}-x86_64".tr(" ", "-")
8
  end
9

  
5 10
  def mediumpath(medium_provider)
6 11
    medium_provider.medium_uri.to_s
7 12
  end