7.0

Table Of Contents
6 Add the rule to the rule set.
Add-DeployRule testrule
By default, the rule is added to both the working rule set and the active rule set. If you use the
NoActivate parameter, the working rule set does not become the active rule set.
Results
When the host boots from iPXE, it reports attributes of the machine to the console. Use the same
format of the attributes when writing deploy rules.
******************************************************************
* Booting through VMware AutoDeploy...
*
* Machine attributes:
* . asset=No Asset Tag
* . domain=vmware.com
* . hostname=myhost.mycompany.com
* . ipv4=XX.XX.XXX.XXX
* . mac=XX:Xa:Xb:Xc:Xx:XX
* . model=MyVendorModel
* . oemstring=Product ID: XXXXXX-XXX
* . serial=XX XX XX XX XX XX...
* . uuid=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX
* . vendor=MyVendor
******************************************************************
What to do next
n For hosts already provisioned with vSphere Auto Deploy, perform the compliance testing and
repair operations to provision them with the new image profile. See Test and Repair Rule
Compliance .
n Turn on unprovisioned hosts to provision them with the new image profile.
Write a Rule and Assign a Host Profile to Hosts
vSphere Auto Deploy can assign a host profile to one or more hosts. The host profile might include
information about storage configuration, network configuration, or other characteristics of the
host. If you add a host to a cluster, that cluster's host profile is used.
In many cases, you assign a host to a cluster instead of specifying a host profile explicitly. The host
uses the host profile of the cluster.
Prerequisites
n Install PowerCLI and all prerequisite software. For information see
vCenter Server Installation
and Setup
.
n Export the host profile that you want to use.
VMware ESXi Installation and Setup
VMware, Inc. 133