Skip to content

Commit

Permalink
Provisioning 'vcenter as compute' mode
Browse files Browse the repository at this point in the history
-> check for mode as vcenter, this is true for both
   vceter-only and vcenter-as-compute modes

Partial-Bug: #1431817

Change-Id: I00e69a89aa0d90f63ec53e1f5ae7dbf1ee91d6c4
  • Loading branch information
a committed Oct 7, 2015
1 parent d3f4595 commit 584b7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrail_provisioning/compute/common.py
Expand Up @@ -155,7 +155,7 @@ def fixup_contrail_vrouter_agent(self):
vmware_dev = ""
hypervisor_type = "kvm"
mode=""
if self._args.orchestrator == 'vcenter' or self._args.vcenter_server:
if self._args.mode == 'vcenter':
mode="vcenter"
vmware_dev = "eth1"
hypervisor_type = "vmware"
Expand Down

0 comments on commit 584b7b9

Please sign in to comment.