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

[hp|compute] Add user_data option to create server call.

This commit is contained in:
Rupak Ganguly 2013-03-11 16:45:18 -04:00
parent ed461e5b3e
commit e221e2af6c

View file

@ -91,6 +91,10 @@ module Fog
end end
end end
if options['user_data']
data['server']['user_data'] = options['user_data']
end
request( request(
:body => Fog::JSON.encode(data), :body => Fog::JSON.encode(data),
:expects => 202, :expects => 202,