diff --git a/kiwi/boot/image/kiwi.py b/kiwi/boot/image/kiwi.py index 8fc5bcab..e38d8d34 100644 --- a/kiwi/boot/image/kiwi.py +++ b/kiwi/boot/image/kiwi.py @@ -78,6 +78,8 @@ class BootImageKiwi(BootImageBase): system.pinch_system( manager=manager, force=True ) + # make sure system instance is cleaned up before setting up + del system self.setup.call_image_script() self.setup.create_init_link_from_linuxrc()