Skip to content

Commit 83d475e

Browse files
author
Dean Troyer
committed
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
1 parent d3dde55 commit 83d475e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stackrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ MELANGECLIENT_BRANCH=master
8989
#IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image
9090
case "$LIBVIRT_TYPE" in
9191
lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
92+
DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-rootfs
9293
IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz";;
9394
*) # otherwise, use the uec style image (with kernel, ramdisk, disk)
95+
DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-uec
9496
IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz";;
9597
esac
9698

0 commit comments

Comments
 (0)