Use this vmcli command to apply changes to the domain settings.
Syntax
The vmcli -f set_domain command
uses this syntax:
vmcli -f set_domain -I domainObjectListFile
You must issue the
vmcli -f set_domain command
as tdpvmware user, and not as root.
The new domain value is stored
in the vmcli database.
Parameters
- -I domain ObjectListFile
- The domainObjectListFile has the following
requirements:
- The file contains one VMware datacenter identifier
per line.
- The valid identifier is the datacenter name.
If no domain is configured, the current instance is used to manage
all datacenters that
are available in the vCenter. When the vmcli -f set_domain command
is run without -I parameter, the domain configuration is deleted.
- An example domainObjectListFile is provided
here:
#datacentername:datacenterName
datacentername:datacenterXYZ
datacentername:datacenterA*
datacentername:datacenterB*
...