summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriberezovskiy <iberezovskiy@mirantis.com>2014-01-20 18:16:53 +0400
committeriberezovskiy <iberezovskiy@mirantis.com>2014-01-20 18:28:18 +0400
commitc18455bfaa1cb91fb09d7c000d3597dccccd1e34 (patch)
tree233b3d92318e29711888389e211faca546538528
parenta058fc60aada7b344ab6cf922d2e8767a43d97fd (diff)
Remove image size fixing for Fedora cloud image2014.1.b2
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
Notes
Notes (review): Verified+2: Jenkins Approved+1: Alexander Ignatov <aignatov@mirantis.com> Code-Review+2: Alexander Ignatov <aignatov@mirantis.com> Verified+1: savanna-ci <elastic-hadoop-ci@mirantis.com> Code-Review+2: Matthew Farrellee <matt@redhat.com> Submitted-by: Jenkins Submitted-at: Mon, 20 Jan 2014 17:47:57 +0000 Reviewed-on: https://review.openstack.org/67839 Project: openstack/savanna-image-elements Branch: refs/heads/master
-rwxr-xr-xdiskimage-create/diskimage-create.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh
index c8f99f8..703776a 100755
--- a/diskimage-create/diskimage-create.sh
+++ b/diskimage-create/diskimage-create.sh
@@ -101,13 +101,13 @@ fi
101disk-image-create $ubuntu_elements_sequence -o $ubuntu_image_name 101disk-image-create $ubuntu_elements_sequence -o $ubuntu_image_name
102 102
103# Creating Fedora cloud image 103# Creating Fedora cloud image
104# Patameter 'DIB_IMAGE_SIZE' should be specified for Fedora and CentOS
105export DIB_IMAGE_SIZE="10"
106disk-image-create $fedora_elements_sequence -o $fedora_image_name 104disk-image-create $fedora_elements_sequence -o $fedora_image_name
107 105
108# CentOS cloud image: 106# CentOS cloud image:
109# - Disable including 'base' element for CentOS 107# - Disable including 'base' element for CentOS
110# - Export link and filename for CentOS cloud image to download 108# - Export link and filename for CentOS cloud image to download
109# - Patameter 'DIB_IMAGE_SIZE' should be specified for CentOS only
110export DIB_IMAGE_SIZE="10"
111export BASE_IMAGE_FILE="CentOS-6.4-cloud-init.qcow2" 111export BASE_IMAGE_FILE="CentOS-6.4-cloud-init.qcow2"
112export DIB_CLOUD_IMAGES="http://savanna-files.mirantis.com" 112export DIB_CLOUD_IMAGES="http://savanna-files.mirantis.com"
113# Read Create_CentOS_cloud_image.rst to know how to create CentOS image in qcow2 format 113# Read Create_CentOS_cloud_image.rst to know how to create CentOS image in qcow2 format