VMware Workstation 7 Bedienungsanleitung Seite 128

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 512
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 127
Workstation User’s Manual
128 VMware, Inc.
Run or Disable a Script
Ifyouarecreatingacustomscript,runthescriptbeforeassociatingitwithapower
operation.
To run or disable a script
1OntheScriptstaboftheVMwareToolscontrolpanel,selecttheappropriatescript
event.
2Dooneofthefollowing:
Todisablethescript,cleartheUseScriptcheckboxandclickOK.
Defaultscriptsforsuspendingandresumingworktogether.Ifyoudisablethe
scriptofoneoftheseactions,disablethescriptfortheotheractionaswell.
Torunascriptimmediately,clickRunNow.
YoucansuccessfullyrunascriptbyclickingtheRunNowbuttoninthe
VMwareToolscontrolpanel,butthissamescriptcanfailwhenrunaspartof
aWorkstationpoweroperation.ThisisbecausescriptsrunbyclickingRun
Nowareru
nastheloggedinuserandhaveadifferentworkingdirectorythan
whenscriptsarerunbytheVMwareToolsdaemonduringapower
operation.
Execute Commands After You Power Off or Reset a Virtual
Machine
InaLinux,Solaris,orFreeBSDguest,youcanusetheVMwareToolsservicetoexecute
specificcommandswhenyoushutdownorrestarttheguestoperatingsystem.Thisis
inadditiontoanyscriptthatyouspecifiedtorunwhenyoushutdowntheguest
operatingsystem.
1Useatexted
itortoopenthefollowingfile:
/etc/vmware-tools/tools.conf
2Addoneorbothofthefollowingcommandstothefile:
halt-command = <command>
<command>isthecommandtoexecutewhenyoushutdowntheguest
operatingsystem.
reboot-command = <command>
<command>isthecommandtoexecutewhenyourestarttheguestoperating
system.
Seitenansicht 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 511 512

Kommentare zu diesen Handbüchern

Keine Kommentare