VMware Workstation 7 Instrukcja Użytkownika Strona 125

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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 54.
Przeglądanie stron 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 511 512

Komentarze do niniejszej Instrukcji

Brak uwag