summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):
% (disk_name, full_path, disk['min_size']))
self.__image.assemble(full_path)
- def configure(self):
+ def finalize(self):
"""
- Configure the system image according to kickstart.
+ Finalize the disk image.
- For now, it just prepares the image to be bootable by e.g.
+ For example, prepare the image to be bootable by e.g.
creating and installing a bootloader configuration.
+
"""
source_plugin = self.get_default_source_plugin()
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):
try:
creator.create()
creator.assemble()
- creator.configure()
+ creator.finalize()
creator.print_outimage_info()
except errors.CreatorError: