lib/esx-delivery-plugin.rb in boxgrinder-esx-delivery-plugin-0.1 vs lib/esx-delivery-plugin.rb in boxgrinder-esx-delivery-plugin-0.1.1

- old
+ new

@@ -2,10 +2,12 @@ require 'esx' require 'boxgrinder-build/plugins/base-plugin' module BoxGrinder class ESXDelivery < BasePlugin + plugin :type => :delivery, :name => :esx, :full_name => "Deliver the appliance to an ESX/ESXi host" + def validate set_default_config_value('datastore', 'datastore1') set_default_config_value('name', @appliance_config.name) set_default_config_value('esx_user', 'root') set_default_config_value('esx_password', '') @@ -49,6 +51,5 @@ end end end -plugin :class => BoxGrinder::ESXDelivery, :type => :delivery, :name => :esx, :full_name => "Deliver the appliance to an ESX/ESXi host"