VMware Workstation 7 Manuel d'utilisateur Page 130

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 512
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 129
Workstation User’s Manual
130 VMware, Inc.
Topreventastringfrombeingpassedfromthehosttotheguestthroughtheservice,
setthefollowinglineinyourvirtualmachine’sconfigurationfile:
isolation.tools.getMachineID.disable = "TRUE"
String in a Startup Command
Ratherthansettingthemachine.idparameterintheconfigurationfile,youcanpass
thestringtotheguestoperatingsystemfromthecommandlinewhenyoupoweron
thevirtualmachine.Followingisanexampleofsuchastartupcommand(enteredon
oneline):
“C:\Program Files\VMware\VMware Workstation\vmware -s
'machine.id=Hello World'
C:\Virtual Machines\win2000\win2000.vmx”
Usethismethodtodeployvirtualmachinesonanetworkusingacommon
configurationfilewhileprovidingeachmachinewithitsownuniqueidentity.
Launcheachvirtualmachinewiththevmware -scommand.Eachvirtualmachinedisk
filemustbecopiedintoitsowndirectoryifitsharesitsfilenamewithanothervi
rtual
machinedi
skfile.
OnaLinuxhost,themachineIDpassedonthecommandlinetakesprecedenceandis
passedtotheguestoperatingsystemifthefollowingconditionsaremet:
AvirtualmachineIDisspecifiedinthevirtualmachine’sconfiguration(.vmx)file
whichisusedtoopenthevirtualmachine.
YouspecifyamachineIDonthecommandline.
Use a String in a Startup Script to Set a Name and IP Address
ThefollowingexampleusesaWindowshosttoillustratehowyoucanusetheservice
toretrieveastringcontainingwhatbecomesthevirtualmachine’smachinenameand
IPaddress.Inthisexample,W2KVMisthemachinenameand148.30.16.24isthe
IP address.
Vue de la page 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 511 512

Commentaires sur ces manuels

Pas de commentaire