Merge "cinder-volume: install qemu-img for conversions"

This commit is contained in:
Jenkins 2014-07-25 12:48:00 +00:00 committed by Gerrit Code Review
commit ea12708404
3 changed files with 21 additions and 1 deletions

View File

@ -2,3 +2,4 @@ cinder
os-refresh-config
os-svc-install
use-ephemeral
pkg-map

View File

@ -1,6 +1,9 @@
#!/bin/bash
set -eux
# qemu-img is required when creating volumes from Glance images
install-packages -m cinder-volume qemu_img_package
os-svc-daemon -i "$CINDER_VENV_DIR" cinder-volume cinder cinder-volume "--config-dir /etc/cinder"
# Ensure the loop block device is available

View File

@ -0,0 +1,16 @@
{
"family": {
"redhat": {
"qemu_img_package": "qemu-img"
},
"debian": {
"qemu_img_package": "qemu-utils"
},
"suse": {
"qemu_img_package": "qemu-tools"
}
},
"default": {
"qemu_img_package": "qemu-img"
}
}