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
This commit is contained in:
parent
d3dde55d4b
commit
83d475eebe
2
stackrc
2
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user