mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Merge pull request #433 from liori/minimize-size-typo-temporary
minimize_size: Typo in temporary file name
This commit is contained in:
commit
d725d3f3bf
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class ShrinkVolumeWithQemuImg(Task):
|
|||
|
||||
@classmethod
|
||||
def run(cls, info):
|
||||
tmp_name = os.path.join(info.workspace, 'shrinked.' + info.volume.extension)
|
||||
tmp_name = os.path.join(info.workspace, 'shrunk.' + info.volume.extension)
|
||||
log_check_call(
|
||||
['qemu-img', 'convert', '-O', info.volume.extension, info.volume.image_path, tmp_name])
|
||||
os.rename(tmp_name, info.volume.image_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue