You can use ESXCLI commands to set the URL to the GuestStore repository and verify
the configuration by retrieving the currently set URL.
Procedure
-
Set the GuestStore repository
URL.
Note: The URL must point to a
datastore path where GuestStore content is stored. The datastore path must
be accessible to the ESXi host. If
you want to set up a common GuestStore repository across multiple
ESXi hosts, you should use a
shared datastore path.
esxcli system settings gueststore repository set --url "<datastore_path>"
The following example contains a possible syntax for the datastore
path.
esxcli system settings gueststore repository set --url "ds:///vmfs/volumes/<datastore_uuid>/GuestStore"
-
Retrieve the GuestStore
repository URL.
esxcli system settings gueststore repository get
You receive the currently set URL in the
output.
URL: <datastore_path>