projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4a847a9
)
Use the description field inputed in the wizard
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Wed, 8 Aug 2012 13:34:52 +0000
(16:34 +0300)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Wed, 8 Aug 2012 13:34:52 +0000
(16:34 +0300)
Make the ImageDescription field of the dialog wizard overwrite the
DESCRIPTION image property.
image_creator/dialog_wizard.py
patch
|
blob
|
history
diff --git
a/image_creator/dialog_wizard.py
b/image_creator/dialog_wizard.py
index
e26975e
..
693588f
100644
(file)
--- 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)