Build only 12.04 Ubuntu for Cloudera

Cloudera supports only 12.04 (precise) Ubuntu release

Change-Id: I360737b4dbdbb87233888e304480e9b91a58ac55
This commit is contained in:
iberezovskiy 2014-07-21 16:25:48 +04:00
parent 324c7cc930
commit 8727996fbc
1 changed files with 3 additions and 0 deletions

View File

@ -396,9 +396,12 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "cloudera" ]; then
if [ -z "$IMAGE_TYPE" -o "$IMAGE_TYPE" = "ubuntu" ]; then
cloudera_ubuntu_image_name=${cloudera_ubuntu_image_name:-ubuntu_sahara_cloudera_latest}
cloudera_elements_sequence="base vm ubuntu hadoop-cloudera"
# Cloudera supports only 12.04 Ubuntu
export DIB_RELEASE="precise"
disk-image-create $cloudera_elements_sequence -o $cloudera_ubuntu_image_name
mv $cloudera_ubuntu_image_name.qcow2 ../
unset DIB_RELEASE
fi
if [ -z "$IMAGE_TYPE" -o "$IMAGE_TYPE" = "centos" ]; then