1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #3130 from thommay/as_cloudinit

[RACKSPACE] allow userdata to be passed to Rackspace AutoScale
This commit is contained in:
Wesley Beary 2014-09-02 08:21:05 -05:00
commit 22eda9b149

View file

@ -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