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

Merge pull request #2355 from kcen/master

Allows custom username for aws spot instances
This commit is contained in:
Wesley Beary 2013-11-01 12:07:47 -07:00
commit f9de3b0dad

View file

@ -42,7 +42,7 @@ module Fog
self.groups ||= ["default"]
self.flavor_id ||= 't1.micro'
self.image_id ||= begin
self.username = 'ubuntu'
self.username ||= 'ubuntu'
# Old 'connection' is renamed as service and should be used instead
prepare_service_value(attributes)