diff --git a/ironic/common/images.py b/ironic/common/images.py index d2eb0d76ee..0f83b8726e 100644 --- a/ironic/common/images.py +++ b/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: diff --git a/ironic/tests/unit/common/test_images.py b/ironic/tests/unit/common/test_images.py index 2f9875f469..14017682bc 100644 --- a/ironic/tests/unit/common/test_images.py +++ b/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')