Revision 84bc469c image_creator/dialog_wizard.py
b/image_creator/dialog_wizard.py | ||
---|---|---|
265 | 265 |
|
266 | 266 |
#Sysprep |
267 | 267 |
image.mount(False) |
268 |
err_msg = "Unable to execute the system preparation tasks." |
|
269 |
if not image.mounted: |
|
270 |
raise FatalError("%s Couldn't mount the media." % err_msg) |
|
271 |
elif image.mounted_ro: |
|
272 |
raise FatalError("%s Couldn't mount the media read-write." |
|
273 |
% err_msg) |
|
268 | 274 |
image.os.do_sysprep() |
269 | 275 |
metadata = image.os.meta |
270 | 276 |
image.umount() |
Also available in: Unified diff