summaryrefslogtreecommitdiffstats
path: root/scripts/lib/mic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/mic')
-rw-r--r--scripts/lib/mic/imager/direct.py7
-rw-r--r--scripts/lib/mic/plugins/imager/direct_plugin.py2
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/lib/mic/imager/direct.py b/scripts/lib/mic/imager/direct.py
index 8d7b6ee804..17bfd01566 100644
--- a/scripts/lib/mic/imager/direct.py
+++ b/scripts/lib/mic/imager/direct.py
@@ -284,12 +284,13 @@ class DirectImageCreator(BaseImageCreator):
284 % (disk_name, full_path, disk['min_size'])) 284 % (disk_name, full_path, disk['min_size']))
285 self.__image.assemble(full_path) 285 self.__image.assemble(full_path)
286 286
287 def configure(self): 287 def finalize(self):
288 """ 288 """
289 Configure the system image according to kickstart. 289 Finalize the disk image.
290 290
291 For now, it just prepares the image to be bootable by e.g. 291 For example, prepare the image to be bootable by e.g.
292 creating and installing a bootloader configuration. 292 creating and installing a bootloader configuration.
293
293 """ 294 """
294 source_plugin = self.get_default_source_plugin() 295 source_plugin = self.get_default_source_plugin()
295 if source_plugin: 296 if source_plugin:
diff --git a/scripts/lib/mic/plugins/imager/direct_plugin.py b/scripts/lib/mic/plugins/imager/direct_plugin.py
index 2cbd5d11fc..ff30f09c3b 100644
--- a/scripts/lib/mic/plugins/imager/direct_plugin.py
+++ b/scripts/lib/mic/plugins/imager/direct_plugin.py
@@ -93,7 +93,7 @@ class DirectPlugin(ImagerPlugin):
93 try: 93 try:
94 creator.create() 94 creator.create()
95 creator.assemble() 95 creator.assemble()
96 creator.configure() 96 creator.finalize()
97 creator.print_outimage_info() 97 creator.print_outimage_info()
98 98
99 except errors.CreatorError: 99 except errors.CreatorError: