mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Vagrantfile: do not insert invalid ssh key when provisioning VMs on vagrant 1.8.5
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
This commit is contained in:
parent
2352464853
commit
da3a2d78e7
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@ -122,6 +122,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
config.proxy.https = $https_proxy
|
||||
config.proxy.no_proxy = $no_proxy
|
||||
end
|
||||
|
||||
# this corrects a bug in 1.8.5 where an invalid SSH key is inserted.
|
||||
if Vagrant::VERSION == "1.8.5"
|
||||
config.ssh.insert_key = false
|
||||
end
|
||||
|
||||
def setvmboxandurl(config, provider)
|
||||
if ENV['KUBERNETES_BOX_NAME'] then
|
||||
config.vm.box = ENV['KUBERNETES_BOX_NAME']
|
||||
|
Loading…
Reference in New Issue
Block a user