aschurr1
Contributor
Contributor

Wildcards in Auto Deploy host rules?

Hello,

I am working on implementing auto deploy and am hoping it is possible to use wildcards in the host rules for auto deploy, particularly I am interested in using the "hostname" pattern.  If my cluster will contain hosts such as esx-host-a01 and esx-host-a02 can I create a single rule specifying the hostname esx-host-a* in the deploy rule?  For example:

New-DeployRule –Name “esx-host-a cluster” –Pattern “hostname=esx-host-a*” –Item “ESXi-6.0.0-20160302001-standard”,”esx-host-a”

This would make it very easy to manage the auto deploy rules, we would only need 1 per cluster and adding another host to the cluster wouldn't involve making any updates to the rules.

Does anyone know if this is possible?  I have tried in the lab and the rule can be created but doesn't seem to match to the ESXi host when the host is booted and auto deploy rules are processed.  What are some other methods people are using to manage the host rules?

Thanks for any feedback.

0 Kudos
1 Reply
rlaplante
Contributor
Contributor

I have the same question.  Did you get any answer outside of this thread?

0 Kudos