Fix file storage resize
This commit is contained in:
parent
4733e836ce
commit
e7caa14a85
@ -136,6 +136,7 @@ class FilePool(qubes.storage.Pool):
|
|||||||
# resize loop device
|
# resize loop device
|
||||||
subprocess.check_call(['sudo', 'losetup', '--set-capacity',
|
subprocess.check_call(['sudo', 'losetup', '--set-capacity',
|
||||||
loop_dev])
|
loop_dev])
|
||||||
|
volume.size = size
|
||||||
|
|
||||||
def remove(self, volume):
|
def remove(self, volume):
|
||||||
if not volume.internal:
|
if not volume.internal:
|
||||||
|
Loading…
Reference in New Issue
Block a user