cirros 0.3.1 images have several significant improvements over 0.3.0, including:
* newer kernel (3.2.0-25.40)
* support for more filesystems (vfat, iso9660)
* support for configdrive (config-drive-v2) as a datasource
* acpi reboot/shutdown
* curl with https support (previously there was no way to get https urls)
Change-Id: Idd7bef0cebb941f77d1cead9dc990fa0b03ff46b
| ... | ... |
@@ -48,7 +48,7 @@ BUILD_INTERVAL=3 |
| 48 | 48 |
BUILD_TIMEOUT=400 |
| 49 | 49 |
|
| 50 | 50 |
|
| 51 |
-BOTO_MATERIALS_PATH="$FILES/images/s3-materials/cirros-0.3.0" |
|
| 51 |
+BOTO_MATERIALS_PATH="$FILES/images/s3-materials/cirros-0.3.1" |
|
| 52 | 52 |
|
| 53 | 53 |
# Entry Points |
| 54 | 54 |
# ------------ |
| ... | ... |
@@ -273,8 +273,8 @@ function install_tempest() {
|
| 273 | 273 |
|
| 274 | 274 |
# init_tempest() - Initialize ec2 images |
| 275 | 275 |
function init_tempest() {
|
| 276 |
- local base_image_name=cirros-0.3.0-x86_64 |
|
| 277 |
- # /opt/stack/devstack/files/images/cirros-0.3.0-x86_64-uec |
|
| 276 |
+ local base_image_name=cirros-0.3.1-x86_64 |
|
| 277 |
+ # /opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec |
|
| 278 | 278 |
local image_dir="$FILES/images/${base_image_name}-uec"
|
| 279 | 279 |
local kernel="$image_dir/${base_image_name}-vmlinuz"
|
| 280 | 280 |
local ramdisk="$image_dir/${base_image_name}-initrd"
|
| ... | ... |
@@ -1215,8 +1215,9 @@ fi |
| 1215 | 1215 |
# Upload an image to glance. |
| 1216 | 1216 |
# |
| 1217 | 1217 |
# The default image is cirros, a small testing image which lets you login as **root** |
| 1218 |
-# cirros also uses ``cloud-init``, supporting login via keypair and sending scripts as |
|
| 1219 |
-# userdata. See https://help.ubuntu.com/community/CloudInit for more on cloud-init |
|
| 1218 |
+# cirros has a ``cloud-init`` analog supporting login via keypair and sending |
|
| 1219 |
+# scripts as userdata. |
|
| 1220 |
+# See https://help.ubuntu.com/community/CloudInit for more on cloud-init |
|
| 1220 | 1221 |
# |
| 1221 | 1222 |
# Override ``IMAGE_URLS`` with a comma-separated list of UEC images. |
| 1222 | 1223 |
# * **oneiric**: http://uec-images.ubuntu.com/oneiric/current/oneiric-server-cloudimg-amd64.tar.gz |
| ... | ... |
@@ -167,12 +167,12 @@ fi |
| 167 | 167 |
# glance as a disk image. If it ends in .gz, it is uncompressed first. |
| 168 | 168 |
# example: |
| 169 | 169 |
# http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-armel-disk1.img |
| 170 |
-# http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz |
|
| 170 |
+# http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-rootfs.img.gz |
|
| 171 | 171 |
# * OpenVZ image: |
| 172 | 172 |
# OpenVZ uses its own format of image, and does not support UEC style images |
| 173 | 173 |
|
| 174 | 174 |
#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 |
| 175 |
-#IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image |
|
| 175 |
+#IMAGE_URLS="http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img" # cirros full disk image |
|
| 176 | 176 |
|
| 177 | 177 |
# Set default image based on ``VIRT_DRIVER`` and ``LIBVIRT_TYPE``, either of |
| 178 | 178 |
# which may be set in ``localrc``. Also allow ``DEFAULT_IMAGE_NAME`` and |
| ... | ... |
@@ -184,16 +184,16 @@ case "$VIRT_DRIVER" in |
| 184 | 184 |
libvirt) |
| 185 | 185 |
case "$LIBVIRT_TYPE" in |
| 186 | 186 |
lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc |
| 187 |
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.0-x86_64-rootfs}
|
|
| 188 |
- IMAGE_URLS=${IMAGE_URLS:-"http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz"};;
|
|
| 187 |
+ DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.1-x86_64-rootfs}
|
|
| 188 |
+ IMAGE_URLS=${IMAGE_URLS:-"http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-rootfs.img.gz"};;
|
|
| 189 | 189 |
*) # otherwise, use the uec style image (with kernel, ramdisk, disk) |
| 190 |
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.0-x86_64-uec}
|
|
| 191 |
- IMAGE_URLS=${IMAGE_URLS:-"http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz"};;
|
|
| 190 |
+ DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.1-x86_64-uec}
|
|
| 191 |
+ IMAGE_URLS=${IMAGE_URLS:-"http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz"};;
|
|
| 192 | 192 |
esac |
| 193 | 193 |
;; |
| 194 | 194 |
*) # otherwise, use the uec style image (with kernel, ramdisk, disk) |
| 195 |
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.0-x86_64-uec}
|
|
| 196 |
- IMAGE_URLS=${IMAGE_URLS:-"http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz"};;
|
|
| 195 |
+ DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.1-x86_64-uec}
|
|
| 196 |
+ IMAGE_URLS=${IMAGE_URLS:-"http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz"};;
|
|
| 197 | 197 |
esac |
| 198 | 198 |
|
| 199 | 199 |
# 5Gb default volume backing file size |