From 3f8e617ba7fe5a2d0c0d6bb447e372c3b55a3beb Mon Sep 17 00:00:00 2001 From: Lukasz Jastrzebski Date: Sun, 15 Dec 2013 14:01:08 -0800 Subject: [PATCH] fixing custom ip resolver --- lib/vagrant-hostmanager/hosts_file.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant-hostmanager/hosts_file.rb b/lib/vagrant-hostmanager/hosts_file.rb index 71b4e05..e7f0f80 100644 --- a/lib/vagrant-hostmanager/hosts_file.rb +++ b/lib/vagrant-hostmanager/hosts_file.rb @@ -107,8 +107,8 @@ module VagrantPlugins next if ip end end - end - ip || (machine.ssh_info ? machine.ssh_info[:host] : nil) + ip || (machine.ssh_info ? machine.ssh_info[:host] : nil) + end end def get_machines