Commit 0d79392f authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Revert "Rename disk to disk_size"

This reverts commit 2d017fc046194d8316096c56d4a32cdf81ce5fcd.
parent 55401495
......@@ -156,7 +156,7 @@ def issue_vm_commission(user, flavor, delete=False):
def get_server_resources(flavor):
return {'vm': 1,
'cpu': flavor.cpu,
'disk_size': 1073741824 * flavor.disk, # flavor.disk is in GB
'disk': 1073741824 * flavor.disk, # flavor.disk is in GB
# 'public_ip': 1,
#'disk_template': flavor.disk_template,
'ram': 1048576 * flavor.ram} # flavor.ram is in MB
......
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 to comment