mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-18 21:10:17 +01:00
Exit, if image checksum is wrong.
This commit is contained in:
3
box.py
3
box.py
@@ -1150,6 +1150,9 @@ def vmcreate(args, conf=None):
|
||||
image = get_image_object(vbox, conf.version, image=conf.distro)
|
||||
path_to_disk = image.convert_to_vdi(conf.name + '.vdi', conf.disk_size)
|
||||
|
||||
if not path_to_disk:
|
||||
return 21
|
||||
|
||||
iso = IsoImage(conf)
|
||||
path_to_iso = iso.get_generated_image()
|
||||
if not path_to_iso:
|
||||
|
||||
Reference in New Issue
Block a user