From bd525ef26537c81ef5091bdd34fd173e2bce4b84 Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Mon, 22 Sep 2014 07:34:36 +0200 Subject: [PATCH] labs: update CirrOS image from 0.3.2 to 0.3.3 Update CirrOS image from 0.3.2 to 0.3.3. The reason for updating now is that 0.3.3 allows setting the MTU via DHCP. Without that feature, users would have to lower the MTU manually from the instance VM's VNC console. Change-Id: Iee7530cb41e2a85af4a939fa004ac9e3546b6339 --- scripts/apt_pre-download.sh | 2 +- scripts/setup_glance.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/apt_pre-download.sh b/scripts/apt_pre-download.sh index 2532973f..95e9b272 100755 --- a/scripts/apt_pre-download.sh +++ b/scripts/apt_pre-download.sh @@ -9,7 +9,7 @@ exec_logfile indicate_current_auto # Download CirrOS image -CIRROS_URL="http://download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img" +CIRROS_URL="http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img" if [ ! -f "$IMG_DIR/$(basename "$CIRROS_URL")" ]; then wget --directory-prefix="$IMG_DIR" "$CIRROS_URL" fi diff --git a/scripts/setup_glance.sh b/scripts/setup_glance.sh index da0ae596..d3a07297 100755 --- a/scripts/setup_glance.sh +++ b/scripts/setup_glance.sh @@ -108,7 +108,7 @@ glance image-create \ --name Cirros_x86_64 \ --is-public true \ --container-format bare \ - --disk-format qcow2 < "$IMG_DIR/cirros-0.3.2-x86_64-disk.img" + --disk-format qcow2 < "$IMG_DIR/cirros-0.3.3-x86_64-disk.img" #------------------------------------------------------------------------------ # Verify the Image Service installation