Fix nova image-list which is unavailable
In Newton nova call to image-list was deprecated and it's not available anymore. I've switched the cli call to openstack image list which does the job perfectly. Change-Id: I2091328998d8b5fbf383f3d32b2d3c0cc24ca618
This commit is contained in:
parent
70f009ee71
commit
d537aed6dc
@ -46,7 +46,7 @@ if is_service_enabled nova; then
|
||||
nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
|
||||
|
||||
# Boot some instances
|
||||
NOVA_BOOT_ARGS="--key-name ${DEVSTACK_LBAAS_SSH_KEY_NAME} --image $(nova image-list | awk '/ cirros-0.3.4-x86_64-disk / {print $2}') --flavor 1 --nic net-id=$(neutron net-list | awk '/ private / {print $2}')"
|
||||
NOVA_BOOT_ARGS="--key-name ${DEVSTACK_LBAAS_SSH_KEY_NAME} --image $(openstack image list | awk '/ cirros-0.3.4-x86_64-disk / {print $2}') --flavor 1 --nic net-id=$(neutron net-list | awk '/ private / {print $2}')"
|
||||
|
||||
nova boot ${NOVA_BOOT_ARGS} node1
|
||||
nova boot ${NOVA_BOOT_ARGS} node2
|
||||
|
Loading…
Reference in New Issue
Block a user