mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #3566 from yyuu/cloudstack-datadisk-size
[cloudstack] Allow specifying the size of DATADISK on the creation of a server
This commit is contained in:
commit
fb1c0f7770
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ module Fog
|
|||
attribute :security_group_list, :type => :array, :aliases => 'securitygroup'
|
||||
attribute :nics, :type => :array, :aliases => 'nic'
|
||||
attribute :job_id, :aliases => 'jobid' # only on create
|
||||
attribute :size, :type => :integer
|
||||
|
||||
attr_accessor :network_ids, :disk_offering_id, :ip_address, :ip_to_network_list
|
||||
attr_writer :security_group_ids
|
||||
|
@ -128,6 +129,7 @@ module Fog
|
|||
'projectid' => project_id,
|
||||
'keypair' => key_name,
|
||||
'userdata' => user_data,
|
||||
'size' => size,
|
||||
}
|
||||
|
||||
options.merge!('networkids' => network_ids) if network_ids
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue