From 072e1cf7925b762ff71bcdb2ca01bd8851d5d0a1 Mon Sep 17 00:00:00 2001 From: Sergio Rubio Date: Thu, 24 Nov 2011 11:01:10 +0100 Subject: [PATCH] * version bump to 0.1.3 * fix --no-host-key-verify option for ruby 1.9 --- lib/chef/knife/esx_vm_create.rb | 3 ++- lib/knife-esx/version.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/chef/knife/esx_vm_create.rb b/lib/chef/knife/esx_vm_create.rb index a64f023..5165267 100644 --- a/lib/chef/knife/esx_vm_create.rb +++ b/lib/chef/knife/esx_vm_create.rb @@ -111,7 +111,8 @@ class EsxVmCreate < Knife :long => "--no-host-key-verify", :description => "Disable host key verification", :boolean => true, - :default => false + :default => false, + :proc => Proc.new { true } def tcp_test_ssh(hostname) tcp_socket = TCPSocket.new(hostname, 22) diff --git a/lib/knife-esx/version.rb b/lib/knife-esx/version.rb index 0e1a0cf..7af9926 100644 --- a/lib/knife-esx/version.rb +++ b/lib/knife-esx/version.rb @@ -1,6 +1,6 @@ module Knife module ESX - VERSION = "0.1.2" + VERSION = "0.1.3" MAJOR, MINOR, TINY = VERSION.split('.') end end