Set the GuestStore Repository with
ESXCLI
You can use ESXCLI commands to set the URL to the GuestStore repository and verify
the configuration by retrieving the currently set URL.
- Set the GuestStore repository URL.The URL must point to a datastore path where GuestStore content is stored. The datastore path must be accessible to theESXihost. If you want to set up a common GuestStore repository across multipleESXihosts, 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 getYou receive the currently set URL in the output.URL: <datastore_path>