VMware Fusion Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
Virtual Machine -> Settings -> System Settings row -> Processors & Memory -> Processors.
Virtual Machine -> Settings -> System Settings row -> Processors & Memory -> Processors.


=Rename Files=
=Rename VM Bundle Files=


{{Warn|This is an experimental procedure. It worked, but it is probably not supported. If not applied, a VM can be cloned but the underlying bundle files won't be changed.}}
{{Warn|This is an experimental procedure. It worked, but it is probably not supported. If not applied, a VM can be cloned but the underlying [[VMware_Fusion_Concepts#VM_Bundle|bundle files]] won't be renamed.}}


<pre>
<pre>

Revision as of 20:29, 3 May 2017

Internal

Changing the Number of CPUs Allocated to a VM

Virtual Machine -> Settings -> System Settings row -> Processors & Memory -> Processors.

Rename VM Bundle Files


This is an experimental procedure. It worked, but it is probably not supported. If not applied, a VM can be cloned but the underlying bundle files won't be renamed.

old="forge-1.0"; new="jdg-app1"; for i in ${old}*; do mv ${i} ${i/${old}/${new}}; done

Change the sparse disk extent description. In vi:

:1,$s/forge-1.0/jdg-app1/g

Update the snapshot file *. vmsd. Use same command in vi.

Update the .vmx and .vmxf configuration files. Use same command in vi.

Remove logs.

Clone a VM

External

Procedure

Power off the VM.

Find the VM bundle.

Copy the VM bundle in a different location. Do not change any name (yet).

Power on the copy.

Fusion will ask if the VM was moved or copied:

VMware Fusion Operations Moved or Copied.png

Select "Copied" - a new UUID and MAC address will be generated.

Go to Rename a VM.

Rename a VM

External

Procedure

After startup, Virtual Machine -> Settings -> General -> Click the existing name of the VM to edit the text -> Rename and click outside the text box to save.

Shutdown.

Note that renaming the VM does not change the name of any bundle file on disk.

Shrink a Sparse Disk

External

Procedure

TODO: "Clean Up Virtual Machine"