2.4

Table Of Contents
VMware® Lab Manager User’s Guide
166 VMware, Inc.
How does LM Tools work?
Theconfigurationfileforavirtualmachine,the.vmxfile,containsamachine.idline.
IfyouinstallVMwareToolsonthetemplate,theguestoperatingsystemcanreadthis
line.
TheLabManagerServersetsthevaluesforthislinewhiledeployingvirtualmachines.
Seethisexampleofthemachine.idline:
machine.id =
"ip=10.6.11.101&netmask=255.255.0.0&gateway=10.6.0.1&dns1=10.5.1.20&dns
2=10.5.1.21&computerName=arp&UseSysPrep=No&KEYNUM=612942190"
To access the machine.id line
1FromtheManagedServer,openthe.vmxfile.
2Searchformachine.idfrominsidetheguestoperatingsystem:
FromthecommandpromptonaLinuxguestOS,type:
# vmware-guestd --cmd machine.id.get
FromaWindowsguestOS,navigatetothedirectorywhereVMwareToolsis
installed(usuallyC:\Program Files\VMware\VMware Tools)andtype:
>VMwareService.exe -cmd machine.id.get
TheinstallationofLMToolsonatemplateconfiguresascripttoruneverytimethe
systemstartsup.Thisscriptreadsthemachine.idinformationanddetermineswhat
actiontotake.
TheLabManagerServerdoesnotsetanyactionsinthemachine.idlinewhile
deployingvirtualmachinetemplates.Asa
result,theLMToolsscriptdoesnotperform
anycustomizationforthetemplatewhenitstartsup.
TheLabManagerServerdoessetcustomizationactionsinthemachine.idlinewhile
deployingWorkspacevirtualmachines.Whenthesevirtualmachinesfirststartup,the
LMToolsscriptperformstherelevantactions.