Auto Deploy 主機可以開機並顯示 iPXE 資訊,但會在五分鐘後進行重新開機。

問題

要使用 Auto Deploy 佈建的主機從 iPXE 進行開機,並在主控台上顯示 iPXE 資訊。但是,此主機五分鐘後會在主控台上顯示下列訊息,並進行重新開機。

This host is attempting to network-boot using VMware
AutoDeploy.However, there is no ESXi image associated with this host.
Details:No rules containing an Image Profile match this
host.You can create a rule with the New-DeployRule PowerCLI cmdlet
and add it to the rule set with Add-DeployRule or Set-DeployRuleSet. 
The rule should have a pattern that matches one or more of the attributes 
listed below.

主機還可能顯示下列詳細資訊:

Details:This host has been added to VC, but no Image Profile
is associated with it.You can use Apply-ESXImageProfile in the
PowerCLI to associate an Image Profile with this host.
Alternatively, you can reevaluate the rules for this host with the
Test-DeployRuleSetCompliance and Repair-DeployRuleSetCompliance cmdlets.

主控台隨後會顯示主機的機器屬性,包括廠商、序號、IP 位址等。

目前沒有任何映像設定檔與此主機相關聯。

結果

您可以透過執行 Apply-EsxImageProfile cmdlet 暫時將映像設定檔指派給主機。

您可以按如下方式將映像設定檔永久指派給主機。

  1. 執行 New-DeployRule cmdlet,建立包含將主機與映像設定檔比對之模式的規則。

  2. 執行 Add-DeployRule cmdlet,將規則新增到規則集。

  3. 執行 Test-DeployRuleSetCompliance cmdlet,並使用該 cmdlet 的輸出做為 Repair-DeployRuleSetCompliance cmdlet 的輸入。