mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Making the naming even less brittle
This commit is contained in:
parent
66d155d3cc
commit
83ddf309d6
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Fog
|
|||
true
|
||||
end
|
||||
|
||||
def write(path="#{ENV['HOME']}/.ssh/fog_#{name}.pem")
|
||||
def write(path="#{ENV['HOME']}/.ssh/fog_#{Fog.credential.to_s}_#{name}.pem")
|
||||
if writable?
|
||||
split_private_key = private_key.split(/\n/)
|
||||
key_file = File.new(path, "w")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue