Increase portability for add_hyperv_type.
API uses image ID instead of image name.
Change-Id: I72f297ac927884b93da820bf491b525504e8db3f
(cherry picked from commit 2273ee1934
)
This commit is contained in:
parent
7fe4d71b3a
commit
5ac3f379d9
|
@ -2,5 +2,5 @@
|
|||
|
||||
. /root/openrc
|
||||
|
||||
glance image-update TestVM --property hypervisor_type=qemu
|
||||
glance image-update TestVM-VMDK --property hypervisor_type=vmware
|
||||
glance image-update $(glance image-list | awk '/ TestVM / {print $2}') --property hypervisor_type=qemu
|
||||
glance image-update $(glance image-list | awk '/ TestVM-VMDK / {print $2}') --property hypervisor_type=vmware
|
||||
|
|
Loading…
Reference in New Issue