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
This commit is contained in:
committed by
Pranav Salunke
parent
055ecfb2b7
commit
bd525ef265
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user