--- /usr/share/foreman/app/models/operatingsystems/xenserver.rb.orig 2019-01-03 14:37:29.197743170 -0200 +++ /usr/share/foreman/app/models/operatingsystems/xenserver.rb 2019-01-03 14:37:47.082274770 -0200 @@ -2,6 +2,11 @@ PXEFILES = {:kernel => "boot/vmlinuz", :initrd => "install.img", :xen => "boot/xen.gz"} MBOOT = "boot/pxelinux/mboot.c32" + # sets the prefix for the tfp files based on the os / arch combination + def pxe_prefix(medium_provider) + "boot/#{self}-x86_64".tr(" ", "-") + end + def mediumpath(medium_provider) medium_provider.medium_uri.to_s end