Installing and Configuring

Table Of Contents
Default VMware Tools Scripts
One or more default scripts for each power state are included in VMware Tools.
What the default scripts do depends in part on the guest operating system:
n
On most Microsoft Windows guest operating systems, the default script that runs when you suspend a
virtual machine releases the IP address of the virtual machine. The default script that runs when you
resume a virtual machine renews the IP address of the virtual machine. This behavior affects only virtual
machines configured to use DHCP.
In Windows guest operating systems, the default scripts are located in the Program Files\VMware\VMware
Tools folder.
IMPORTANT You cannot run scripts on Windows NT, Me, Windows 98, and Windows 95 guest operating
systems.
n
On most Linux, Solaris, and FreeBSD guest operating systems, the default script that runs when you
suspend a virtual machine stops networking for the virtual machine. The default script that runs when
you resume a virtual machine starts networking for the virtual machine. Scripts cannot be run on NetWare
guest operating systems.
On Linux, Solaris, and FreeBSD guest operating systems, the default scripts are located in the /etc/vmware-
tools directory.
Table 4-1. Default VMware Tools Scripts
Script Name Description
poweroff-vm-default
If you configured the power-off operation to shut down the
guest operating system, this script runs when the virtual
machine is being powered off.
If you configured the reset operation to restart the guest
operating system, this script runs when the virtual machine
is being reset.
This script has no effect on networking for the virtual
machine.
poweron-vm-default
If you configured the power-on operation to start the guest
operating system, this script runs when the virtual machine
is being powered on rather than resumed.
If you configured the reset operation to restart the guest
operating system, this script runs after virtual machine
restarts.
This script has no effect on networking for the virtual
machine.
Installing and Configuring VMware Tools
36 VMware, Inc.