Browse Source

Merge "Remove default option from create iso image"

changes/82/819482/1
Zuul 6 months ago committed by Gerrit Code Review
parent
commit
04c45f88a5
  1. 2
      ironic/common/images.py
  2. 2
      ironic/tests/unit/common/test_images.py

2
ironic/common/images.py

@ -239,7 +239,7 @@ def create_isolinux_image_for_bios(
try:
utils.execute('mkisofs', '-r', '-V', _label(files_info),
'-cache-inodes', '-J', '-l', '-no-emul-boot',
'-J', '-l', '-no-emul-boot',
'-boot-load-size', '4', '-boot-info-table',
'-b', ISOLINUX_BIN, '-o', output_file, tmpdir)
except processutils.ProcessExecutionError as e:

2
ironic/tests/unit/common/test_images.py

@ -638,7 +638,7 @@ class FsImageTestCase(base.TestCase):
write_to_file_mock.assert_called_once_with(cfg_file, cfg)
execute_mock.assert_called_once_with(
'mkisofs', '-r', '-V',
"VMEDIA_BOOT_ISO", '-cache-inodes', '-J', '-l',
"VMEDIA_BOOT_ISO", '-J', '-l',
'-no-emul-boot', '-boot-load-size',
'4', '-boot-info-table', '-b', 'isolinux/isolinux.bin',
'-o', 'tgt_file', 'tmpdir')

Loading…
Cancel
Save