[IsoHandler] Use MOLECULE_ISO_TITLE if present for iso_title

This commit is contained in:
Geaaru
2018-09-08 15:37:04 +02:00
parent 15d66768b5
commit b9bd5ae4b7
+4 -1
View File
@@ -372,7 +372,10 @@ class IsoHandler(BuiltinIsoHandler):
)
self.dest_iso = os.path.join(self.metadata['destination_iso_directory'],
dest_iso_filename)
self.iso_title = self.metadata.get('iso_title', 'Molecule remaster')
self.iso_title = \
os.getenv('MOLECULE_ISO_TITLE',
self.metadata.get('iso_title', 'Molecule remaster')
)
self.source_chroot = self.metadata['chroot_unpack_path']
self.chroot_dir = self.source_chroot
return 0