From c1d9722ffa290d1555ca61ba9ac85f6d3ec0fb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Fri, 19 Jul 2019 11:15:07 +0200 Subject: [PATCH] Fixed use of FileSystemBuilder class This was a broken coding for the construction of a FileSystemBuilder instance in the PxeBuilder implementation. The unit testing did not fail due to mocking code. Integration testing however showed it immediately --- kiwi/builder/pxe.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/kiwi/builder/pxe.py b/kiwi/builder/pxe.py index 19d009d5..bfdf39ee 100644 --- a/kiwi/builder/pxe.py +++ b/kiwi/builder/pxe.py @@ -51,13 +51,8 @@ class PxeBuilder(object): self.target_dir = target_dir self.compressed = xml_state.build_type.get_compressed() self.xen_server = xml_state.is_xen_server() - self.filesystem_custom_parameters = { - 'mount_options': xml_state.get_fs_mount_option_list(), - 'create_options': xml_state.get_fs_create_option_list() - } self.filesystem = FileSystemBuilder( - xml_state, target_dir, root_dir + '/', - self.filesystem_custom_parameters + xml_state, target_dir, root_dir + '/' ) self.system_setup = SystemSetup( xml_state=xml_state, root_dir=root_dir