2.5

Table Of Contents
VMware Lab Manager User’s Guide
194 VMware, Inc.
How does LM Tools work?
Theconfigurationfileforavirtualmachine,the.vmxfile,containsamachine.idline.
IfyouinstallVMwareToolsonthetemplate,theguestoperatingsystemcanreadthis
line.
TheLab ManagerServersystemsetsthevaluesforthislinewhiledeployingvirtual
machines.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
1FromtheManagedServersystem,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.
TheLab ManagerServersystemdoesnotsetanyactionsinthemachine.idlinewhile
deployingvirtualmachinetemplates.Asa
result,theLMToolsscriptdoesnotperform
anycustomizationforthetemplatewhenitstartsup.
TheLab ManagerServersystemdoessetcustomizationactionsinthemachine.idline
whiledeployingWorkspacevirtualmachines.Whenthesevirtualmachinesfirststart
up,theLMToolsscriptperformstherelevantactions.