From 83d475eebea28d3ff8e8a0f54b90db465c2419fb Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Wed, 30 May 2012 10:58:18 -0500 Subject: [PATCH] Set default image for exercises The exercises search for an 'ami' image to run; when multiple images are loaded this fails. Rather than try to guess or just use the first one we set the default image name to the cirros image that we load by default. Change-Id: Iae91a011ca9c42a7715747a68e0deba0dba20835 --- stackrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stackrc b/stackrc index 98e6bd48e2..62f6b875e8 100644 --- a/stackrc +++ b/stackrc @@ -89,8 +89,10 @@ MELANGECLIENT_BRANCH=master #IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image case "$LIBVIRT_TYPE" in lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc + DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-rootfs IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz";; *) # otherwise, use the uec style image (with kernel, ramdisk, disk) + DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-uec IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz";; esac