Merge "cinder-volume: install qemu-img for conversions"
This commit is contained in:
commit
ea12708404
@ -2,3 +2,4 @@ cinder
|
||||
os-refresh-config
|
||||
os-svc-install
|
||||
use-ephemeral
|
||||
pkg-map
|
||||
|
@ -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
|
||||
|
16
elements/cinder-volume/pkg-map
Normal file
16
elements/cinder-volume/pkg-map
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user