From: Nikos Skalkotos Date: Wed, 8 Aug 2012 13:34:52 +0000 (+0300) Subject: Use the description field inputed in the wizard X-Git-Tag: v0.1~37 X-Git-Url: https://code.grnet.gr/git/snf-image-creator/commitdiff_plain/1d413d1e60951a5a65f39971cbfc67501420761d Use the description field inputed in the wizard Make the ImageDescription field of the dialog wizard overwrite the DESCRIPTION image property. --- diff --git a/image_creator/dialog_wizard.py b/image_creator/dialog_wizard.py index e26975e..693588f 100644 --- a/image_creator/dialog_wizard.py +++ b/image_creator/dialog_wizard.py @@ -187,7 +187,9 @@ def extract_image(session): #Shrink size = device.shrink() + metadata.update(device.meta) + metadata['DESCRIPTION'] = wizard['ImageDescription'] #MD5 md5 = MD5(out)