VMX configuration file(Edit)

Manually set the start-time of a VM(Edit)

In case you want to have a virtual machine that always starts at the very same point in time - your birthday or what ever here is how to do it: Take the rtc.StartTime value and calculate the offset to the given date in seconds and adjust the StartTime.

The "time.synchronize" parameters make sure that this startTime will never change.

By the way - for a test simply copy the text in the box into a text-file and rename the file to always-start-tonight.vmx

This little machine does not need any further files.[1]

config.version = "7"
virtualHW.version = "3"
displayName = "I_will_always_start_9th_July_at_19:46_2004_Berlin-Time"
guestOS = "winXPPro"
scsi0.present = "TRUE"
memsize = "256"
ide0:0.present = "FALSE"
ide0:0.fileName = "my.vmdk"
ide1:0.present = "FALSE"
ide1:0.fileName = "my.iso"
ide1:0.deviceType = "cdrom-image"
floppy0.fileType = "file"
floppy0.fileName = "my.flp"
floppy0.startConnected = "FALSE"
Ethernet0.present = "TRUE"
Ethernet0.addressType = "generated"
sound.present = "FALSE"
sound.virtualDev = "es1371"
sound.fileName = "-1"
usb.present = "FALSE"
priority.grabbed = "normal"
priority.ungrabbed = "normal" = "TRUE" = "TRUE"
redoLogDir = "."
rtc.startTime = "1089395200"
tools.syncTime = "FALSE"
time.synchronize.continue ="FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.resume.memory = "FALSE"
time.synchronize.shrink = "FALSE"

Since WS 6.0.1 you also need this entry ! = "FALSE"

Convert OVF / OVA file format(Edit)

The OVF and OVA formats are made to make easier the deployment or transfer of virtual machines from various vendors. A small utility tool[2] can convert one format to the other, and vice-versa. To do so, here are the steps:

  • Download and Install VMware vSphere or download the ovftool from VMware official;
  • Navigate to the directory where the VMware player was installed, by default:

 C:\Program Files (x86)\VMware\VMware Player\OVFTool\ 

  • Open the console (Shift + Right click, Open console window here)
  • On the command prompt, use the following to convert OVA to OVF, or the latter to convert from OVF to OVA:

 ovftool.exe path_to_your_OVA_file.ova Path_to_your_OVF_file.ovf 

 ovftool.exe path_to_your_OVF_file.ovf Path_to_your_OVA_file.ova