Timeline for Unregister a VM within VMware Fusion from command line
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 1, 2017 at 16:43 | vote | accept | Rekovni | ||
Oct 30, 2017 at 17:16 | answer | added | Rekovni | timeline score: 0 | |
Sep 28, 2017 at 8:49 | comment | added | Rekovni |
Hmm, can remove with sudo rm -R /path/to/.vmware file, but the VM can still be seen in the Fusion library, and you can't manually remove it from there...
|
|
Sep 28, 2017 at 8:39 | comment | added | Tensibai | you have a good chance of hitting the same problem, a handle still being kept on the file and as such preventing its deletion. | |
Sep 28, 2017 at 8:23 | comment | added | Rekovni |
I'm trying to automate creation and deletion of VMs using Fusion, and just creating a generic python library for that. Managed to do it with Parallels, so was hoping to achieve something similar with Fusion... Maybe an alternative of deleting the VM would be to just delete the .vmware file perhaps?
|
|
Sep 28, 2017 at 5:33 | comment | added | Tensibai | We're back at the XY problem, why do you wish to do this unregister on first place? Maybe there's another approach to make the overall task if we take a step back and look at the full picture then maybe tools like packer could be of help and have a solution for you | |
Sep 27, 2017 at 21:07 | comment | added | Rekovni | Is there no other way of manipulating Fusion to unregister a VM then? :'( | |
Sep 27, 2017 at 20:18 | comment | added | Tensibai | As far as I remember that's just Fusion/workstation keep a handle on the vmx file, there's no inventory, just a list of files/folders | |
Sep 27, 2017 at 16:27 | comment | added | Rekovni | Ah, the inventory literally meant the UI in that scenario... I did see another thread (communities.vmware.com/thread/551152), but it didn't mention the location for an inventory file for OSX, so it might be the case that fusion doesn't have that inventory file | |
Sep 27, 2017 at 16:25 | comment | added | Tensibai | The thread say exactly that, remove from the ui, that said I didn't thought fusion kept an inventory, deleting a stopped machine should work | |
Sep 27, 2017 at 15:54 | comment | added | Rekovni | I see, I thought the workaround mentioned in the thread about manually removing the VM from the inventory could work... | |
Sep 27, 2017 at 15:43 | comment | added | Tensibai | That's the point... in brief "No there's no cli way, you have to go though the Fusion UI" | |
Sep 27, 2017 at 15:31 | comment | added | Rekovni | @Tensibai vmrun doesn't support unregistering, and the VIX API doesn't seem to work with Fusion (source: vmware.com/support/developer/vix-api/vix113_reference/…) | |
Sep 27, 2017 at 15:28 | comment | added | Tensibai | Did you check the vmrun utility and the VIX API ? BTW Fusion as workstation doesn't support registration, that's an esx esxi capability to keep an inventory of VMs). This sounds like you're trying to solve a XY problem here | |
Sep 27, 2017 at 14:25 | history | asked | Rekovni | CC BY-SA 3.0 |