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

Merge pull request #2334 from sylvainkalache/master

Username being overrided
This commit is contained in:
Wesley Beary 2013-10-29 12:38:23 -07:00
commit b05567262b

View file

@ -65,7 +65,7 @@ module Fog
prepare_service_value(attributes)
self.image_id ||= begin
self.username = 'ubuntu'
self.username ||= 'ubuntu'
case @service.instance_variable_get(:@region) # Ubuntu 10.04 LTS 64bit (EBS)
when 'ap-northeast-1'
'ami-5e0fa45f'