]>
Commit | Line | Data |
---|---|---|
a08ab38e | 1 | disable insert_key=true by default |
af8dd7b7 ER |
2 | |
3 | https://github.com/mitchellh/vagrant/issues/2608 | |
4 | ||
cf7a6c1a ER |
5 | |
6 | NOTE: this can be done globally for your own account as well: | |
7 | ||
8 | @TomyLobo: | |
9 | ||
10 | Not exactly true, you can also put this in a ~/.vagrant.d/Vagrantfile to apply it to all machines on your desktop. | |
11 | ||
12 | config.ssh.insert_key = false | |
13 | ||
14 | https://github.com/mitchellh/vagrant/pull/4707#issuecomment-132910396 | |
15 | ||
af8dd7b7 ER |
16 | --- vagrant-1.7.1/plugins/kernel_v2/config/ssh_connect.rb~ 2014-12-12 11:36:39.000000000 +0200 |
17 | +++ vagrant-1.7.1/plugins/kernel_v2/config/ssh_connect.rb 2015-02-01 20:47:27.907465716 +0200 | |
18 | @@ -23,7 +23,7 @@ | |
19 | @private_key_path = nil if @private_key_path == UNSET_VALUE | |
20 | @username = nil if @username == UNSET_VALUE | |
21 | @password = nil if @password == UNSET_VALUE | |
22 | - @insert_key = true if @insert_key == UNSET_VALUE | |
23 | + @insert_key = false if @insert_key == UNSET_VALUE | |
58e22970 JR |
24 | @keys_only = true if @keys_only == UNSET_VALUE |
25 | @paranoid = false if @paranoid == UNSET_VALUE | |
26 | @verify_host_key = false if @verify_host_key == UNSET_VALUE |