lib/testlab/providers/local.rb in testlab-0.9.1 vs lib/testlab/providers/local.rb in testlab-1.0.0
- old
+ new
@@ -69,14 +69,14 @@
def instance_id
TestLab.hostname
end
def user
- ENV['USER']
+ (@config[:local][:user] || ENV['USER'])
end
def identity
- File.join(ENV['HOME'], ".ssh", "id_rsa")
+ (@config[:local][:identity] || File.join(ENV['HOME'], ".ssh", "id_rsa"))
end
def ip
"127.0.0.1"
end