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:
parent
2b7848e206
commit
1f8deaa5c0
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue