ploop: specify hypervisor_type=vz property for ploop images

This is necessary to make it possible to filter out compute nodes,
which don't support such type of images.

Change-Id: I347953876e2057e6f3dca71c2f5e8b638b85aaf8
This commit is contained in:
Maxim Nestratov 2016-07-11 22:33:39 +03:00
parent 6874734935
commit d565d62efe

View File

@ -251,6 +251,7 @@ function upload_image {
image create \
"$image_name" --public \
--container-format=bare --disk-format=ploop \
--property hypervisor_type=vz \
--property vm_mode=$vm_mode < "${image}"
return
fi