I have a linux (debian) server without gui and installed vmware workstation[1]. I use the server service (shared VMs) to be able to run VMs. I can successfully connect from my Windows PC to the Server to create new VMs on the server and run them.
What I am missing is the possibility to import VMs: Instead of just be able to create new VMs with the connected console on the server I like to run already existing VMs already placed on the server - even if they are already placed in the 'shared VMs folder', they cannot be opened and started. - I can only create new VMs. Does anybody know, if this is possible in any way?
Does anybody know, if there is a way e.g. by a shell command on the server to 'Share' an already existing VM?
[1] I used version 9 and updated now to version 12. It seems that there are not more possibilites related to the server / console / VM management.
You may edit directly the file /etc/vmware/hostd/vmInventory.xml
.
There you can copy a <ConfigEntry>
section and change the path to the new .vmx file.
A complete vmInventory.xml
may look like this:
<ConfigRoot>
<ConfigEntry id="0000">
<objID>1</objID>
<vmxCfgPath>/mnt/vm/debian/debian.vmx</vmxCfgPath>
</ConfigEntry>
<ConfigEntry id="0001">
<objID>2</objID>
<vmxCfgPath>/mnt/vm/win10/win10.vmx</vmxCfgPath>
</ConfigEntry>
<ConfigEntry id="0002">
<objID>3</objID>
<vmxCfgPath>/mnt/vm/ubuntu/ubuntu.vmx</vmxCfgPath>
</ConfigEntry>
<ConfigEntry id="0003">
<objID>4</objID>
<vmxCfgPath>/mnt/vm/win7x32/win7x32.vmx</vmxCfgPath>
</ConfigEntry>
</ConfigRoot>