Skip to content

Commit

Permalink
Merge "Closes-Bug: #1445284" into R2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 22, 2015
2 parents 5a7617f + 1c85415 commit 6b7936b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fabfile/tasks/vmware.py
Expand Up @@ -98,11 +98,10 @@ def create_esxi_compute_vm (esxi_host, vcenter_info, power_on):
assert vmdk, "Contrail VM vmdk image or download path should be specified in testbed file"
if orch is 'openstack':
vm_name = esxi_host['contrail_vm']['name']
vm_store = datastore + vm_name + '/'
if orch is 'vcenter':
name = "ContrailVM"
vm_name = name+"-"+vcenter_info['datacenter']+"-"+esxi_host['ip']
vm_store = datastore + '/' + vm_name + '/'
vm_store = datastore + '/' + vm_name + '/'

vmx_file = create_vmx(esxi_host, vm_name)
with settings(host_string = esxi_host['username'] + '@' + esxi_host['ip'],
Expand Down

0 comments on commit 6b7936b

Please sign in to comment.