File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -957,6 +957,18 @@ if is_service_enabled nova; then
957957 iniset $NOVA_CONF DEFAULT powervm_img_remote_path $POWERVM_IMG_REMOTE_PATH
958958 iniset $NOVA_CONF DEFAULT powervm_img_local_path $POWERVM_IMG_LOCAL_PATH
959959
960+ # vSphere API
961+ # -------
962+
963+ elif [ " $VIRT_DRIVER " = ' vsphere' ]; then
964+ echo_summary " Using VMware vCenter driver"
965+ iniset $NOVA_CONF DEFAULT compute_driver " vmwareapi.VMwareVCDriver"
966+ VMWAREAPI_USER=${VMWAREAPI_USER:- " root" }
967+ iniset $NOVA_CONF DEFAULT vmwareapi_host_ip " $VMWAREAPI_IP "
968+ iniset $NOVA_CONF DEFAULT vmwareapi_host_username " $VMWAREAPI_USER "
969+ iniset $NOVA_CONF DEFAULT vmwareapi_host_password " $VMWAREAPI_PASSWORD "
970+ iniset $NOVA_CONF DEFAULT vmwareapi_cluster_name " $VMWAREAPI_CLUSTER "
971+
960972 # Default
961973 # -------
962974
Original file line number Diff line number Diff line change @@ -199,6 +199,8 @@ case "$VIRT_DRIVER" in
199199 IMAGE_URLS=${IMAGE_URLS:-"http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz"};;
200200 esac
201201 ;;
202+ vsphere)
203+ IMAGE_URLS="";;
202204 *) # otherwise, use the uec style image (with kernel, ramdisk, disk)
203205 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.1-x86_64-uec}
204206 IMAGE_URLS=${IMAGE_URLS:-"http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz"};;
You can’t perform that action at this time.
0 commit comments