Class | Fission::Metadata |
In: |
lib/fission/metadata.rb
|
Parent: | Object |
content | [RW] | Public: Gets/Sets the content (Hash). |
Public: Deletes the Fusion metadata related to a VM. The VM should not be running when this method is called. It‘s highly recommended to call this method without the Fusion GUI application running. If the Fusion GUI is running this method should succeed, but it‘s been observed that Fusion will recreate the metadata which is deleted. This leads to ‘missing’ VMs in the Fusion GUI.
vm_path - The absolute path to the directory of a VM.
Examples
Fission::Metadata.delete_vm_info '/vms/foo.vmwarevm'
Returns nothing.
Public: Reads the configured metadata file and populates the content variable with native ruby types.
Examples
metadata.load
Returns nothing.