Skip to content

Commit

Permalink
changed efiboot.img zo 6 MB size due to missing space after grubx64.e…
Browse files Browse the repository at this point in the history
…fi updates
  • Loading branch information
MaxHerrmannSVA authored and stejskalleos committed Feb 20, 2023
1 parent 7d0cb45 commit a831b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/foreman_bootdisk/iso_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def self.generate(opts = {})
f.write(opts[:grub])
end
efibootimg = File.join(wd, 'build', 'efiboot.img')
system_or_exception("truncate -s 4M #{efibootimg}", N_('Creating new image failed, install truncate utility'))
system_or_exception("truncate -s 6M #{efibootimg}", N_('Creating new image failed, install truncate utility'))
system_or_exception("mkfs.msdos #{efibootimg}", N_('Failed to format the ESP image via mkfs.msdos'))
system_or_exception("mmd -i #{efibootimg} '::/EFI'", N_('Failed to create a directory within the ESP image'))
system_or_exception("mmd -i #{efibootimg} '::/EFI/BOOT'", N_('Failed to create a directory within the ESP image'))
Expand Down

0 comments on commit a831b9d

Please sign in to comment.