Updates cinder to support additional image types

Only raw images can be converted to bootable volumes by cinder. For
converting additional image types, cinder needs 'qemu-img' which is
installed via 'qemu-utils' package. This patch adds the required
package to the cinder controller node.

Change-Id: I296649827165989381ac7ce623e7babd62f7063a
This commit is contained in:
Pranav Salunke 2014-09-03 00:46:29 +05:30 committed by Roger Luethi
parent 7c42385c89
commit 0f3e7925b6

View File

@ -13,7 +13,10 @@ indicate_current_auto
#------------------------------------------------------------------------------
echo "Installing cinder."
sudo apt-get install -y cinder-api cinder-scheduler
sudo apt-get install -y cinder-api cinder-scheduler qemu-utils
# Note: The package 'qemu-utils' is required for 'qemu-img' which allows cinder
# to convert additional image types to bootable volumes. By default only
# raw images can be converted.
echo "Setting up database for cinder."
setup_database cinder