@@ -662,19 +662,20 @@ esac
662662# If the file ends in .tar.gz, uncompress the tarball and and select the first
663663# .img file inside it as the image. If present, use "*-vmlinuz*" as the kernel
664664# and "*-initrd*" as the ramdisk
665- # example: https ://cloud-images.ubuntu.com/releases/jammy /release/ubuntu-22 .04-server-cloudimg-amd64.tar.gz
665+ # example: http ://cloud-images.ubuntu.com/releases/precise /release/ubuntu-12 .04-server-cloudimg-amd64.tar.gz
666666# * disk image (*.img,*.img.gz)
667667# if file ends in .img, then it will be uploaded and registered as a to
668668# glance as a disk image. If it ends in .gz, it is uncompressed first.
669669# example:
670- # https ://cloud-images.ubuntu.com/releases/jammy /release/ubuntu-22 .04-server-cloudimg-amd64 .img
671- # https ://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-rootfs.img.gz
670+ # http ://cloud-images.ubuntu.com/releases/precise /release/ubuntu-12 .04-server-cloudimg-armel-disk1 .img
671+ # http ://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-rootfs.img.gz
672672# * OpenVZ image:
673673# OpenVZ uses its own format of image, and does not support UEC style images
674674
675- # IMAGE_URLS="https://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img" # cirros full disk image
675+ # IMAGE_URLS="http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz" # old ttylinux-uec image
676+ # IMAGE_URLS="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img" # cirros full disk image
676677
677- CIRROS_VERSION=${CIRROS_VERSION:- " 0.6.1 " }
678+ CIRROS_VERSION=${CIRROS_VERSION:- " 0.5.2 " }
678679CIRROS_ARCH=${CIRROS_ARCH:- $(uname -m)}
679680
680681# Set default image based on ``VIRT_DRIVER`` and ``LIBVIRT_TYPE``, either of
@@ -691,11 +692,11 @@ if [[ "$DOWNLOAD_DEFAULT_IMAGES" == "True" ]]; then
691692 lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
692693 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -rootfs}
693694 DEFAULT_IMAGE_FILE_NAME=${DEFAULT_IMAGE_FILE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -rootfs.img.gz}
694- IMAGE_URLS+=" https ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
695+ IMAGE_URLS+=" http ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
695696 * ) # otherwise, use the qcow image
696697 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -disk}
697698 DEFAULT_IMAGE_FILE_NAME=${DEFAULT_IMAGE_FILE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -disk.img}
698- IMAGE_URLS+=" https ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
699+ IMAGE_URLS+=" http ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
699700 esac
700701 ;;
701702 vsphere)
0 commit comments