Skip to content

Commit

Permalink
Fix #408
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Sep 15, 2017
1 parent 2e12507 commit 6cebd46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IM/ConfManager.py
Expand Up @@ -123,6 +123,8 @@ def check_vm_ips(self, timeout=Config.WAIT_RUNNING_VM_TIMEOUT):
for vm in self.inf.get_vm_list():
if vm.hasPublicNet():
ip = vm.getPublicIP()
if not ip:
ip = vm.getPrivateIP()
else:
ip = vm.getPrivateIP()
if not ip:
Expand All @@ -140,6 +142,8 @@ def check_vm_ips(self, timeout=Config.WAIT_RUNNING_VM_TIMEOUT):

if vm.hasPublicNet():
ip = vm.getPublicIP()
if not ip:
ip = vm.getPrivateIP()
else:
ip = vm.getPrivateIP()
if not ip:
Expand Down

0 comments on commit 6cebd46

Please sign in to comment.