diff --git a/lib/fog/vsphere/requests/compute/create_vm.rb b/lib/fog/vsphere/requests/compute/create_vm.rb index bdb6ae4da..e381c047a 100644 --- a/lib/fog/vsphere/requests/compute/create_vm.rb +++ b/lib/fog/vsphere/requests/compute/create_vm.rb @@ -134,7 +134,7 @@ module Fog ) } - if operation == :add && disk.thin == false && disk.eager_zero + if operation == :add && disk.thin == 'false' && disk.eager_zero == 'true' payload[:device][:backing][:eagerlyScrub] = disk.eager_zero end