Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions kiwi/builder/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,11 +473,9 @@ def create_live_iso_boot_images(
) + modules
for dracut_module in live_dracut_modules:
self.boot_image.include_module(dracut_module)
self.boot_image.omit_module('multipath')
self.boot_image.write_system_config_file(
config={
'modules': live_dracut_modules,
'omit_modules': ['multipath']
'modules': live_dracut_modules
},
config_file=self.root_dir + '/etc/dracut.conf.d/02-livecd.conf'
)
Expand Down
4 changes: 1 addition & 3 deletions test/unit/builder/live_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,9 @@ def side_effect():
assert self.boot_image_task.include_module.call_args_list == [
call('kiwi-live'), call('pollcdrom')
]
self.boot_image_task.omit_module.assert_called_once_with('multipath')
self.boot_image_task.write_system_config_file.assert_called_once_with(
config={
'modules': ['kiwi-live', 'pollcdrom'],
'omit_modules': ['multipath']
'modules': ['kiwi-live', 'pollcdrom']
},
config_file='root_dir/etc/dracut.conf.d/02-livecd.conf'
)
Expand Down
Loading