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: 17a9ee5a7524124e0df03b9cff9ca9b5ae20b298
4
- data.tar.gz: 7a6be15f231298be2f119a5d4c59776aa7058c04
3
+ metadata.gz: b7e89605913827e4091e46f7c2b7265caa61bbbe
4
+ data.tar.gz: 288877a5f80d7907f5bb3f7158ad73388a655e11
5
5
  SHA512:
6
- metadata.gz: 71bde2ab81fe8ef4b186a8059c7729957c1c68f0065a23da7defdb9924e84cce5ef7e5a8e0459bce787523f2c63f97dd4d924d1477ca94e300e6dc6bfcc3b35a
7
- data.tar.gz: 3b6967a70a50979c45f3b4f0c9741c03c8fa4230a7dbd14db92ac49851192ca3f61e0df2f85c3ef2948d4cf10f5e9b24cea0cc8eff6f1221d7e9cb6a52df152c
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(:paranoid => true) do |ssh|
148
- # dummy
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 = { :paranoid => false, :password => @password }
212
+ default = { :password => @password }
212
213
  default.merge! options
213
214
  Net::SSH.start(@ip, @login, default) do |ssh|
214
215
  block.call ssh
@@ -1,7 +1,7 @@
1
1
  module Hetzner
2
2
  class Bootstrap
3
3
  class CoreOS
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetzner-bootstrap-coreos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Pilka