From d537aed6dcfd30879904726fe5bd5c8ab54d04d9 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Thu, 29 Sep 2016 10:04:54 -0400 Subject: [PATCH] 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 --- devstack/samples/singlenode/local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/samples/singlenode/local.sh b/devstack/samples/singlenode/local.sh index 28be746938..184566fd7e 100755 --- a/devstack/samples/singlenode/local.sh +++ b/devstack/samples/singlenode/local.sh @@ -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