docs: def get_location(conn, vm_):
      '''
      Return the node location to use
      '''
      locations = conn.list_locations()
      # Default to Dallas if not otherwise set
      loc = config.get_cloud_config_value('location', vm_, __opts__, default=2)
      for location in locations:
          if six.text_type(loc) in (six.text_type(location.id), six.text_type(location.name)):
              return location