mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack|compute] added key_name and security_groups in boot from snapshot request
This commit is contained in:
parent
31e92bb18d
commit
b0263c1ecf
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ module Fog
|
|||
}
|
||||
|
||||
vanilla_options = ['metadata', 'accessIPv4', 'accessIPv6',
|
||||
'availability_zone', 'user_data', 'block_device_mapping']
|
||||
'availability_zone', 'user_data', 'block_device_mapping',
|
||||
'key_name', 'security_groups']
|
||||
vanilla_options.select{|o| options[o]}.each do |key|
|
||||
data['server'][key] = options[key]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue