def instances_metadata()
      instance_wildcard = File.join(@vagrant_vm_dir, "*", ::Vagrantomatic::Instance::VAGRANTFILE)
      instances = {}
      Dir.glob(instance_wildcard).each { |f|
        elements = f.split(File::SEPARATOR)
        # /var/lib/vagrantomatic/mycoolvm/Vagrantfile
        # -----------------------^^^^^^^^------------
        name = elements[elements.size - 2]

        instances[name] = instance_metadata(name)
      }

      instances
    end
def instances_metadata()
      instance_wildcard = File.join(@vagrant_vm_dir, "*", ::Vagrantomatic::Instance::VAGRANTFILE)
      instances = {}
      Dir.glob(instance_wildcard).each { |f|
        elements = f.split(File::SEPARATOR)
        # /var/lib/vagrantomatic/mycoolvm/Vagrantfile
        # -----------------------^^^^^^^^------------
        name = elements[elements.size - 2]

        instances[name] = instance_metadata(name)
      }

      instances
    end
Return a hash of all instances