def delete_vm_favorite_entry(vm_path)
      if @content.has_key?('VMFavoritesListDefaults2')
        @content['VMFavoritesListDefaults2'].delete_if { |vm| vm['path'] == vm_path }
      end
      if @content.has_key?('fusionInitialSessions')
        @content['fusionInitialSessions'].delete_if {|vm| vm['documentPath'] == vm_path}
      end
    end
def delete_vm_favorite_entry(vm_path)
      if @content.has_key?('VMFavoritesListDefaults2')
        @content['VMFavoritesListDefaults2'].delete_if { |vm| vm['path'] == vm_path }
      end
      if @content.has_key?('fusionInitialSessions')
        @content['fusionInitialSessions'].delete_if {|vm| vm['documentPath'] == vm_path}
      end
    end
Public: Deletes the VM information from the 'favorites list' metadata.
 The 'favorites list' dictates which VMs are displayed in the Fusion VM
 libarary.

 vm_path - The absolute path to the directory of a VM.

 Examples

   metadata.delete_favorite_entry '/vms/foo.vmwarevm'

 Returns nothing.