Browse code

Merge "replace use of cirros 0.3.0 with 0.3.1"

Jenkins authored on 2013/02/22 21:22:23
Showing 3 changed files
... ...
@@ -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
 # ------------
... ...
@@ -271,8 +271,8 @@ function install_tempest() {
271 271
 
272 272
 # init_tempest() - Initialize ec2 images
273 273
 function init_tempest() {
274
-    local base_image_name=cirros-0.3.0-x86_64
275
-    # /opt/stack/devstack/files/images/cirros-0.3.0-x86_64-uec
274
+    local base_image_name=cirros-0.3.1-x86_64
275
+    # /opt/stack/devstack/files/images/cirros-0.3.1-x86_64-uec
276 276
     local image_dir="$FILES/images/${base_image_name}-uec"
277 277
     local kernel="$image_dir/${base_image_name}-vmlinuz"
278 278
     local ramdisk="$image_dir/${base_image_name}-initrd"
... ...
@@ -1220,8 +1220,9 @@ fi
1220 1220
 # Upload an image to glance.
1221 1221
 #
1222 1222
 # The default image is cirros, a small testing image which lets you login as **root**
1223
-# cirros also uses ``cloud-init``, supporting login via keypair and sending scripts as
1224
-# userdata.  See https://help.ubuntu.com/community/CloudInit for more on cloud-init
1223
+# cirros has a ``cloud-init`` analog supporting login via keypair and sending
1224
+# scripts as userdata.
1225
+# See https://help.ubuntu.com/community/CloudInit for more on cloud-init
1225 1226
 #
1226 1227
 # Override ``IMAGE_URLS`` with a comma-separated list of UEC images.
1227 1228
 #  * **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