Fix qvm-create lvm based AppVM

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-08-16 19:21:10 +02:00
parent c0f1a6b4e8
commit e0bf4bdb8e
No known key found for this signature in database
GPG Key ID: 96ED3C3BA19C3DEE

View File

@ -43,7 +43,7 @@ class ThinPool(qubes.storage.Pool):
self.log = logging.getLogger('qube.storage.lvm.%s' % self._pool_id)
def clone(self, source, target):
cmd = ['clone', source.vid, target.vid]
cmd = ['clone', str(source), str(target)]
qubes_lvm(cmd, self.log)
return target