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

Default to running user for username

This commit is contained in:
Nat Welch 2013-06-26 17:57:57 -07:00
parent 2b7848e206
commit 1f8deaa5c0

View file

@ -49,6 +49,7 @@ module Fog
:zone_name => "us-central1-a", :zone_name => "us-central1-a",
:private_key_path => File.expand_path("~/.ssh/id_rsa"), :private_key_path => File.expand_path("~/.ssh/id_rsa"),
:public_key_path => File.expand_path("~/.ssh/id_rsa.pub"), :public_key_path => File.expand_path("~/.ssh/id_rsa.pub"),
:username => ENV['USER'],
} }
server = create(defaults.merge(new_attributes)) server = create(defaults.merge(new_attributes))