Created
December 8, 2014 09:58
-
-
Save GregSutcliffe/647dae3a952d03db10d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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| | |
file.write(opts[:isolinux]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment