| ... | ... |
@@ -1335,7 +1335,7 @@ function upload_image() {
|
| 1335 | 1335 |
vmdk_net_adapter="${props[2]}"
|
| 1336 | 1336 |
fi |
| 1337 | 1337 |
|
| 1338 |
- 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}"
|
|
| 1338 |
+ 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}"
|
|
| 1339 | 1339 |
return |
| 1340 | 1340 |
fi |
| 1341 | 1341 |
|