test/api.sh/vsphere: specify the resource pool for image import
Specify the resource pool when importing the VMDK to the VCenter. This should prevent the following error: govc: default resource pool resolves to multiple instances, please specify Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
ae68358a0d
commit
1fa72f262e
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ function verifyInVSphere() {
|
||||||
-u "${GOVMOMI_USERNAME}:${GOVMOMI_PASSWORD}@${GOVMOMI_URL}" \
|
-u "${GOVMOMI_USERNAME}:${GOVMOMI_PASSWORD}@${GOVMOMI_URL}" \
|
||||||
-k=true \
|
-k=true \
|
||||||
-dc="${GOVC_DATACENTER}" \
|
-dc="${GOVC_DATACENTER}" \
|
||||||
|
-pool="${GOVMOMI_CLUSTER}"/Resources \
|
||||||
-ds="${GOVMOMI_DATASTORE}" \
|
-ds="${GOVMOMI_DATASTORE}" \
|
||||||
"${WORKDIR}/${VSPHERE_IMAGE_NAME}" \
|
"${WORKDIR}/${VSPHERE_IMAGE_NAME}" \
|
||||||
"${VSPHERE_VM_NAME}"
|
"${VSPHERE_VM_NAME}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue