Commit a3b9d6ce by Bach Dániel

Merge branch 'feature-resize' into 'master'

Feature Resize
parents 7686c2c0 8fe196fd
......@@ -584,6 +584,15 @@ def detach_network(name, net):
@celery.task
@req_connection
@wrap_libvirtError
def resize_disk(name, path, size):
domain = lookupByName(name)
domain.blockResize(path, int(size),
flags=libvirt.VIR_DOMAIN_BLOCK_RESIZE_BYTES)
@celery.task
def ping():
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment