mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
allow for nova servers to be built with premade volumes
if the boot_volume is specified, allow for that to be used instead of an image
This commit is contained in:
parent
4a411c0817
commit
9660c91b57
1 changed files with 1 additions and 1 deletions
|
@ -2640,7 +2640,7 @@ def is_profile_configured(opts, provider, profile_name):
|
|||
elif driver == 'vmware' or linode_cloning:
|
||||
required_keys.append('clonefrom')
|
||||
elif driver == 'nova':
|
||||
nova_image_keys = ['image', 'block_device_mapping', 'block_device']
|
||||
nova_image_keys = ['image', 'block_device_mapping', 'block_device', 'boot_volume']
|
||||
if not any([key in provider_key for key in nova_image_keys]) and not any([key in profile_key for key in nova_image_keys]):
|
||||
required_keys.extend(nova_image_keys)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue