Revision 3b2f6619 image_creator/main.py
b/image_creator/main.py | ||
---|---|---|
51 | 51 |
osclass = get_os_class(dev.distro, dev.ostype) |
52 | 52 |
image_os = osclass(dev.root, dev.g) |
53 | 53 |
metadata = image_os.get_metadata() |
54 |
for key in metadata.keys(): |
|
55 |
print "%s=%s" % (key, metadata[key]) |
|
54 | 56 |
image_os.data_cleanup() |
55 | 57 |
dev.umount() |
56 |
dev.shrink() |
|
58 |
#dev.shrink()
|
|
57 | 59 |
|
58 | 60 |
finally: |
59 | 61 |
disk.cleanup() |
Also available in: Unified diff