def ask_ip(environment)
      ip = write_input(_('wizard.node.ask_ip'), nil, /\.(.*)/, _('wizard.node.valid_ip'))
      # If the environment is not vagrant don't check ip free
      return ip if environment != 'vagrant'
      # Check if the ip address is free
      if free_ip?(ip)
        return ip
      else
        error _('wizard.node.non_free_ip')
        ask_ip(environment)
      end
    end
def ask_ip(environment)
      ip = write_input(_('wizard.node.ask_ip'), nil, /\.(.*)/, _('wizard.node.valid_ip'))
      # If the environment is not vagrant don't check ip free
      return ip if environment != 'vagrant'
      # Check if the ip address is free
      if free_ip?(ip)
        return ip
      else
        error _('wizard.node.non_free_ip')
        ask_ip(environment)
      end
    end
Ask for the ip until is valid