Usage: applyHostProfileWrapper [options]
This utility will apply a Host Profile document and related Answer
File to an ESX host. If no options are provided, the utility will
look for the Host Profile document and Answer File at a pre-defined
locations on the filesystem and apply that Host Profile in its
entirety. There are options for specifying a file for the Host Profile
document and Answer File to use, as well as a filter to specify a
subset of profiles to apply.
Options:
-h, --help show this help message and exit
-d HOSTPROFILEFILE, --hostprofiledoc=HOSTPROFILEFILE
File name/path to load input host profile from. By
default, the utility will look in a default location
for the host profile document.
-a ANSWERFILENAME, --answerfile=ANSWERFILENAME
File name/path to load input answer file from. By
default, the utility will look in a default location
for the answer file.
-p PROFILELIST, --profile=PROFILELIST
Name/path of a specific profile to execute. If not
specified, all profiles will be applied. This option
can be supplied multiple times to create a list of
profiles to apply. Note that not all profiles can be
supplied to this parameter. To get the full list, run
the "esxhpcli ppl" command.
--postbootinit Specifies the command is being run during post-boot
initialization. This causes the command to take
special actions, such as waiting for CIM and Hostd
services to become available and entering/leaving the
system in maintenance mode upon failure.
--earlybootinit Specifies that the command is being run in an early-
boot environment, e.g. such that the CIM and VIM
services are probably not available. This option
should not be specified at the same time as the
--postbootinit option, as they are logically distinct
states where this option expects CIM and VIM to be
unavailable, whereas the "post boot init"
stateexplicitly waits for those services to become
available.
--esxcli Specifies that the command is being run within the
esxcli framework and adjusts output accordingly.
-m MODULE, --module=MODULE
Specify the name of the Host Profile CLI module to use
for the command. Valid values: hpengine