hetzner-bootstrap-coreos 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7e89605913827e4091e46f7c2b7265caa61bbbe
|
4
|
+
data.tar.gz: 288877a5f80d7907f5bb3f7158ad73388a655e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11f1de7226eff977677521df5cd2e957cf8ccc711b4cb5c8cf929968b5051d77b5d49b270632c5f5885ff4d01446788f055e139e1c4cb92cbd05ae9bdb99fdc4
|
7
|
+
data.tar.gz: e3ebb7d90cb49e02594ceb5b0f0f309b36b5b07599042bd7e48841a696443ef8b6feef52901f7ca5372800f47618b40c284c439cf5d432c5f94cc7cef4abe706
|
@@ -144,8 +144,9 @@ module Hetzner
|
|
144
144
|
end
|
145
145
|
|
146
146
|
def update_local_known_hosts(options = {})
|
147
|
-
remote
|
148
|
-
|
147
|
+
remote do |ssh|
|
148
|
+
puts ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
|
149
|
+
`ssh-keygen -R #{@hostname}`
|
149
150
|
end
|
150
151
|
rescue Net::SSH::HostKeyMismatch => e
|
151
152
|
e.remember_host!
|
@@ -208,7 +209,7 @@ module Hetzner
|
|
208
209
|
end
|
209
210
|
|
210
211
|
def remote(options = {}, &block)
|
211
|
-
default = { :
|
212
|
+
default = { :password => @password }
|
212
213
|
default.merge! options
|
213
214
|
Net::SSH.start(@ip, @login, default) do |ssh|
|
214
215
|
block.call ssh
|