mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Remove extension property from volumes
This commit is contained in:
parent
7660e15c93
commit
c454114a22
2 changed files with 0 additions and 4 deletions
|
@ -17,8 +17,6 @@ class LoopbackVolume(Volume):
|
|||
{'name': 'delete', 'src': 'detached', 'dst': 'deleted'},
|
||||
]
|
||||
|
||||
extension = 'raw'
|
||||
|
||||
def create(self, image_path):
|
||||
self.fsm.create(image_path=image_path)
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@ from common.fs import get_partitions
|
|||
|
||||
class VirtualBoxVolume(LoopbackVolume):
|
||||
|
||||
extension = 'vdi'
|
||||
|
||||
def _before_create(self, e):
|
||||
self.image_path = e.image_path
|
||||
log_check_call(['/usr/bin/qemu-img', 'create', '-f', 'vdi', self.image_path, str(self.size) + 'M'])
|
||||
|
|
Loading…
Add table
Reference in a new issue