mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
allow userdata to be passed to Rackspace AutoScale
This commit is contained in:
parent
ceee958656
commit
0aa72c23fe
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ module Fog
|
|||
}
|
||||
|
||||
server_template["personality"] = attributes[:personality] if attributes[:personality]
|
||||
server_template["user_data"] = [attributes[:user_data]].pack('m') if attributes[:user_data]
|
||||
server_template["config_drive"] = 'true' if attributes[:config_drive]
|
||||
server_template["networks"] = networks_to_hash(attributes[:networks]) if attributes[:networks]
|
||||
server_template
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue