summaryrefslogtreecommitdiffstats
path: root/vio/vio/vsphere/ovf.py
diff options
context:
space:
mode:
Diffstat (limited to 'vio/vio/vsphere/ovf.py')
-rw-r--r--vio/vio/vsphere/ovf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/vio/vsphere/ovf.py b/vio/vio/vsphere/ovf.py
index c0c5435..638f6bd 100644
--- a/vio/vio/vsphere/ovf.py
+++ b/vio/vio/vsphere/ovf.py
@@ -126,7 +126,7 @@ def deploy_ovf(si, vmdk_path, ovf_path, datacenter, cluster, datastore):
spec_params)
if default_ovf:
import_spec.importSpec.configSpec.deviceChange[
- 1].device.capacityInKB = long(vmdk_meta['size'])
+ 1].device.capacityInKB = int(vmdk_meta['size'])
lease = objs["resource pool"].ImportVApp(import_spec.importSpec,
objs["datacenter"].vmFolder)
while(True):