From 49f4486f1caff209254f560deecd774246c91c79 Mon Sep 17 00:00:00 2001 From: Ryan Hsu Date: Thu, 3 Oct 2013 22:27:03 -0700 Subject: [PATCH] Fix typo in property passed to glance In the upload_image function, a property that is passed to glance in the vmdk conditional block has a typo. Changes "vmware-disktype" to "vmware_disktype" (dash to underscore) Change-Id: I6c4e1875b6ab4544f9742ab08893dae0e86965a0 Closes-Bug: #1235080 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index d9445fe6e7..cc5089f55c 100644 --- a/functions +++ b/functions @@ -1335,7 +1335,7 @@ function upload_image() { vmdk_net_adapter="${props[2]}" fi - glance --os-auth-token $token --os-image-url http://$GLANCE_HOSTPORT image-create --name "$IMAGE_NAME" --is-public=True --container-format bare --disk-format vmdk --property vmware-disktype="$vmdk_disktype" --property vmware_adaptertype="$vmdk_adapter_type" --property hw_vif_model="$vmdk_net_adapter" < "${IMAGE}" + glance --os-auth-token $token --os-image-url http://$GLANCE_HOSTPORT image-create --name "$IMAGE_NAME" --is-public=True --container-format bare --disk-format vmdk --property vmware_disktype="$vmdk_disktype" --property vmware_adaptertype="$vmdk_adapter_type" --property hw_vif_model="$vmdk_net_adapter" < "${IMAGE}" return fi