mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Rename loopback image to volume
This commit is contained in:
parent
c744196d2f
commit
53991bdad7
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class MoveImage(Task):
|
|||
|
||||
def run(self, info):
|
||||
import os.path
|
||||
filename = 'loopback-{id:x}.{ext}'.format(id=info.run_id, ext=info.volume.extension)
|
||||
filename = 'volume-{id:x}.{ext}'.format(id=info.run_id, ext=info.volume.extension)
|
||||
destination = os.path.join(info.manifest.bootstrapper['workspace'], filename)
|
||||
import shutil
|
||||
shutil.move(info.volume.image_path, destination)
|
||||
|
|
Loading…
Add table
Reference in a new issue