Browse code

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

Maxim Nestratov authored on 2016/07/12 04:33:39
Showing 1 changed files
... ...
@@ -251,6 +251,7 @@ function upload_image {
251 251
             image create \
252 252
             "$image_name" --public \
253 253
             --container-format=bare --disk-format=ploop \
254
+            --property hypervisor_type=vz \
254 255
             --property vm_mode=$vm_mode < "${image}"
255 256
         return
256 257
     fi