VMware Workstation 7 Manual de usuario Pagina 130

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 512
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 511 512

Comentarios a estos manuales

Sin comentarios