Remove image size fixing for Fedora cloud image

Since patch set 'Increase the size heuristic for images' to diskimage-builder
(https://review.openstack.org/#/c/53818/) was merged we don't need anymore
to set variable 'DIB_IMAGE_SIZE' for Fedora cloud image.
This variable is needed for CentOS cloud image only.

Change-Id: Ic02a50eb36d0213a207549a01b47e72418a19396
This commit is contained in:
iberezovskiy 2014-01-20 18:16:53 +04:00
parent a058fc60aa
commit c18455bfaa
1 changed files with 2 additions and 2 deletions

View File

@ -101,13 +101,13 @@ fi
disk-image-create $ubuntu_elements_sequence -o $ubuntu_image_name
# Creating Fedora cloud image
# Patameter 'DIB_IMAGE_SIZE' should be specified for Fedora and CentOS
export DIB_IMAGE_SIZE="10"
disk-image-create $fedora_elements_sequence -o $fedora_image_name
# CentOS cloud image:
# - Disable including 'base' element for CentOS
# - Export link and filename for CentOS cloud image to download
# - Patameter 'DIB_IMAGE_SIZE' should be specified for CentOS only
export DIB_IMAGE_SIZE="10"
export BASE_IMAGE_FILE="CentOS-6.4-cloud-init.qcow2"
export DIB_CLOUD_IMAGES="http://savanna-files.mirantis.com"
# Read Create_CentOS_cloud_image.rst to know how to create CentOS image in qcow2 format