Specifications

Table Of Contents
VMware Server Virtual Machine Guide
70 VMware, Inc.
Disabling Time Synchronization
To!disable!time!synchronization!in!the!guest,!open!the!virtual!machine’s!configuration!
file!(.vmx)!in!a!text!editor!and!set!the!following!options!to!FALSE.
tools.syncTime
tools.synchronize.restore
time.synchronize.resume.disk
time.synchronize.continue
time.synchronize.shrink
Executing Commands After You Power Off or Reset a Virtual
Machine
In!a!Linux!guest,!you!can!have!the!VMware!Tools!service!execute!specific!commands!
when!you!shut!down!or!restart!the!guest!operating!system.!This!is!in!addition!to!any!
script!that!you!might!have!specified!to!run!when!you!shut!down!the!guest!operating!
system.!
To!execute!these!commands,!you
!need!to!modify!/etc/vmware-tools/tools.conf.!The!
commands!are:
halt-command = <command>
(where!<command>!is!the!command!to!execute!when!you!shut!down!the!guest!operating!
system)!
reboot-command = <command>
(where!<command>!is!the!command!to!execute!when!you!restart!the!guest!operating!
system)!
Passing a String from the Host OS to the Guest OS
With!VMware!Server!and!knowledge!of!a!scripting!language!like!Perl!or!NetShell!(in!a!
Windows!2000!guest!operating!system),!you!can!pass!a!string!from!your!virtual!
machineʹs!configuration!file!in!the!host!operating!system!to!the!guest!operating!system!
when!you!use!the!configuration!file!to!launch!a
!virtual!machine.
What!you!pass!to!the!guest!operating!system!is!up!to!you.!You!should!pass!a!string!only!
if!you!have!a!good!understanding!of!a!scripting!language!and!know!how!to!modify!
system!startup!scripts.!