@@ -662,20 +662,19 @@ 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: http ://cloud-images.ubuntu.com/releases/precise /release/ubuntu-12 .04-server-cloudimg-amd64.tar.gz
665+ # example: https ://cloud-images.ubuntu.com/releases/jammy /release/ubuntu-22 .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- # 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
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
672672# * OpenVZ image:
673673# OpenVZ uses its own format of image, and does not support UEC style images
674674
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
675+ # IMAGE_URLS="https://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img" # cirros full disk image
677676
678- CIRROS_VERSION=${CIRROS_VERSION:- " 0.5.2 " }
677+ CIRROS_VERSION=${CIRROS_VERSION:- " 0.6.1 " }
679678CIRROS_ARCH=${CIRROS_ARCH:- $(uname -m)}
680679
681680# Set default image based on ``VIRT_DRIVER`` and ``LIBVIRT_TYPE``, either of
@@ -692,11 +691,11 @@ if [[ "$DOWNLOAD_DEFAULT_IMAGES" == "True" ]]; then
692691 lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
693692 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -rootfs}
694693 DEFAULT_IMAGE_FILE_NAME=${DEFAULT_IMAGE_FILE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -rootfs.img.gz}
695- IMAGE_URLS+=" http ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
694+ IMAGE_URLS+=" https ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
696695 * ) # otherwise, use the qcow image
697696 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -disk}
698697 DEFAULT_IMAGE_FILE_NAME=${DEFAULT_IMAGE_FILE_NAME:- cirros-${CIRROS_VERSION} -${CIRROS_ARCH} -disk.img}
699- IMAGE_URLS+=" http ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
698+ IMAGE_URLS+=" https ://download.cirros-cloud.net/${CIRROS_VERSION} /${DEFAULT_IMAGE_FILE_NAME} " ;;
700699 esac
701700 ;;
702701 vsphere)
0 commit comments