You can update certain parameters in your Glance service configuration by using the viocli update glance command.

Configuration options example using viocli update glance.
conf:
  glance:
    DEFAULT:
      client_socket_timeout: 1800

  backends:
    vmware0:
      vmware_datastores: DC.vio.001:sharedVmfs-1:100,DC.vio.001:sharedVmfs-0:100
      vmware_insecure: .VCenter:vcenter1:spec.insecure
      vmware_server_host: .VCenter:vcenter1:spec.hostname
      vmware_server_password: .VCenter:vcenter1:spec.password
      vmware_server_username: .VCenter:vcenter1:spec.username
      vmware_store_image_dir: /images
      vmware_create_template: true
      bypass_vcenter: true
   
Table 1. viocli update Glance Parameters
Parameter Default Value Description

client_socket_timeout

900

Enter the timeout for client connections socket operations.

vmware_create_template

true

Enter true if the uploaded image is a virtual template.

bypass_vcenter

Enter true to upload images directly to ESXi server or through vCenter.

vmware_store_image_dir

/openstack_glance

Enter the path to store vmdk images in the datastore. This works when vmware_create_template is false.

vmware_datastores

''

Enter the datastore for storing images.

vmware_insecure

false

Set the verification of the ESX/vCenter server certificate.

vmware_server_host

Enter the address of the ESX/ESXi or vCenter target system.

vmware_server_password

Enter the server password.

vmware_server_username

Enter the server username.