VMware Workstation 7 Manuale Utente Pagina 125

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 124
VMware, Inc. 125
Chapter 5 Installing and Using VMware Tools
Customizations to VMware Tools
Customizationsincludemodifyingorwritingscriptsthatrunwhenavirtualmachine’s
powerstatechanges,executingcommandswhenyoushutdownorrestartaLinux,
Solaris,orFreeBSDguest,andpassingcommandsinstringsthatruninstartupscripts.
How VMware Tools Scripts Affect Power States
WhenVMwareToolsisinstalled,ifyouconfigureavirtualmachine’spowercontrolsto
usetheguest,orsoft,poweroptions,oneormoredefaultscriptsrunontheguest
wheneveryouchangethepowerstateofthevirtualmachine.Youchangethepower
statebyusingmenucommandsorbycl
ickingtheSuspend,Resume,PowerOn,and
PowerOffbuttons.
Whatthedefaultscriptsdodependsinpartontheguestoperatingsystem:
OnmostMicrosoftWindowsguests,butnotwindowsNTandWindowsMe,the
defaultscriptexecutedwhenyoususpendavirtualmachinereleasestheIP
addressofthevirtualmachine.Thedefaultscriptexecutedwhenyouresumea
virtualmachinerenewstheIPaddressofthevirtualmachine(thisaffectsonly
vi
rtualmachinesconfiguredtouseDHCP).ScriptscannotberunonWindows95
guests.
InWindowsguests,thedefaultscriptsarelocatedintheProgram
Files\VMware\VMware Toolsfolder.
OnmostLinux,Solaris,andFreeBSDguests,thedefaultscriptexecutedwhenyou
suspendavirtualmachinestopsnetworkingforthevirtualmachine.Thedefault
scriptexecutedwhenyouresumeavirtualmachinestartsnetworkingforthe
virtualmachine.ScriptscannotberunonNetWareandFreeBSDguests.
OnLinux,Solaris, andFr
eeBSDguests,thedefaultscriptsarelocatedinthe
/etc/vmware-toolsdirectory.
Youcancreateyourownscriptsandusetheminsteadofthedefaultscriptsshownin
Table 5‐4.
Vedere la pagina 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 511 512

Commenti su questo manuale

Nessun commento