VMware: update cinder support for VMware configuration settings
The review https://review.openstack.org/#/c/41600 was update to have a 'vmware' prefix for all of the VMware cinder settings. These were previously in a 'vmware' section and now they are in the 'DEFAULT' section. Change-Id: I8eadfb0f64914d3b0667760aff651415df48f627
This commit is contained in:
parent
17be7d5de2
commit
dc4f2342db
11
lib/cinder
11
lib/cinder
@ -289,12 +289,11 @@ function configure_cinder() {
|
||||
fi
|
||||
elif [ "$CINDER_DRIVER" == "vsphere" ]; then
|
||||
echo_summary "Using VMware vCenter driver"
|
||||
iniset $CINDER_CONF DEFAULT enabled_backends vmware
|
||||
iniset $CINDER_CONF vmware host_ip "$VMWAREAPI_IP"
|
||||
iniset $CINDER_CONF vmware host_username "$VMWAREAPI_USER"
|
||||
iniset $CINDER_CONF vmware host_password "$VMWAREAPI_PASSWORD"
|
||||
iniset $CINDER_CONF vmware cluster_name "$VMWAREAPI_CLUSTER"
|
||||
iniset $CINDER_CONF vmware volume_driver "cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver"
|
||||
iniset $CINDER_CONF DEFAULT vmware_host_ip "$VMWAREAPI_IP"
|
||||
iniset $CINDER_CONF DEFAULT vmware_host_username "$VMWAREAPI_USER"
|
||||
iniset $CINDER_CONF DEFAULT vmware_host_password "$VMWAREAPI_PASSWORD"
|
||||
iniset $CINDER_CONF DEFAULT vmware_cluster_name "$VMWAREAPI_CLUSTER"
|
||||
iniset $CINDER_CONF DEFAULT volume_driver "cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver"
|
||||
fi
|
||||
|
||||
if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user