Merge "Allow to use a custom block device with LXD init"

This commit is contained in:
Jenkins 2017-04-04 03:29:37 +00:00 committed by Gerrit Code Review
commit 4a480a9af7
3 changed files with 8 additions and 0 deletions

View File

@ -539,6 +539,10 @@ lxd_storage_backend: dir
# This variable should be used with lxd when using a
# storage backend that utilizes storage pools
#lxd_storage_pool:
# This variable should be used with lxd when using a
# storage backend that utilizes storage pool if you
# want to use a specific bloc device instead of loop
#lxd_storage_create_device: "/dev/sdb"
# PCI devices passthrough to nova
# For SR-IOV please use:

View File

@ -11,5 +11,8 @@
--storage-backend={{ lxd_storage_backend }} \
{% if lxd_storage_pool is defined %}
--storage-pool={{ lxd_storage_pool }} \
{% endif %}
{% if lxd_storage_create_device is defined %}
--storage-create-device={{ lxd_storage_create_device }} \
{% endif %}
--trust-password={{ lxd_trust_password }}

View File

@ -70,6 +70,7 @@ nova_compute_lxd_distro_packages:
- python-libguestfs
- sysfsutils
- vlan
- thin-provisioning-tools
nova_nginx_distro_packages:
- nginx-full