|
...
|
...
|
@@ -647,14 +647,9 @@ if [[ "$DOWNLOAD_DEFAULT_IMAGES" == "True" ]]; then
|
|
647
|
647
|
IMAGE_URLS+="http://ca.downloads.xensource.com/OpenStack/cirros-0.3.4-x86_64-disk.vhd.tgz"
|
|
648
|
648
|
IMAGE_URLS+=",http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-uec.tar.gz";;
|
|
649
|
649
|
ironic)
|
|
650
|
|
- # Ironic can do both partition and full disk images, depending on the driver
|
|
651
|
|
- if [[ -z "${IRONIC_DEPLOY_DRIVER%%agent*}" ]]; then
|
|
652
|
|
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-x86_64-disk}
|
|
653
|
|
- else
|
|
654
|
|
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-x86_64-uec}
|
|
655
|
|
- fi
|
|
656
|
|
- IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-uec.tar.gz"
|
|
657
|
|
- IMAGE_URLS+=",http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-disk.img";;
|
|
|
650
|
+ # NOTE(lucasagomes): The logic setting the default image
|
|
|
651
|
+ # now lives in the Ironic tree
|
|
|
652
|
+ ;;
|
|
658
|
653
|
*) # Default to Cirros with kernel, ramdisk and disk image
|
|
659
|
654
|
DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec}
|
|
660
|
655
|
IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec.tar.gz";;
|