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

[Brightbox] Add username to Image

This commit is contained in:
Hemant Kumar 2011-10-19 19:15:50 +05:30
parent 1af384fb9e
commit cddae88809

View file

@ -11,6 +11,7 @@ module Fog
attribute :resource_type attribute :resource_type
attribute :name attribute :name
attribute :username
attribute :status attribute :status
attribute :description attribute :description
@ -43,6 +44,7 @@ module Fog
:source => source, :source => source,
:arch => arch, :arch => arch,
:name => name, :name => name,
:username => username,
:description => description :description => description
}.delete_if {|k,v| v.nil? || v == "" } }.delete_if {|k,v| v.nil? || v == "" }
data = connection.create_image(options) data = connection.create_image(options)