Skip to content

Instantly share code, notes, and snippets.

Avatar

Dominic Cleal domcleal

View GitHub Profile
View gist:647dae3a952d03db10d9
diff --git a/app/services/foreman_bootdisk/iso_generator.rb b/app/services/foreman_bootdisk/iso_generator.rb
index b0d3780..e5c3dbd 100644
--- a/app/services/foreman_bootdisk/iso_generator.rb
+++ b/app/services/foreman_bootdisk/iso_generator.rb
@@ -47,6 +47,7 @@ class ForemanBootdisk::ISOGenerator
raise ::Foreman::Exception.new(N_("Please ensure the ipxe-bootimgs and syslinux packages are installed."))
end
FileUtils.cp(File.join(Setting[:bootdisk_syslinux_dir], 'isolinux.bin'), File.join(wd, 'build', 'isolinux.bin'))
+ FileUtils.cp(File.join(Setting[:bootdisk_syslinux_dir], 'ldlinux.c32'), File.join(wd, 'build', 'ldlinux.c32'))
File.open(File.join(wd, 'build', 'isolinux.cfg'), 'w') do |file|
You can’t perform that action at this time.