lib/boxgrinder-build/plugins/platform/vmware/vmware-plugin.rb in boxgrinder-build-0.9.8 vs lib/boxgrinder-build/plugins/platform/vmware/vmware-plugin.rb in boxgrinder-build-0.10.0

- old
+ new

@@ -18,10 +18,12 @@ require 'boxgrinder-build/plugins/base-plugin' module BoxGrinder class VMwarePlugin < BasePlugin + plugin :type => :platform, :name => :vmware, :full_name => "VMware" + def after_init register_deliverable(:vmx => "#{@appliance_config.name}.vmx", :readme => "README") if @plugin_config['type'].eql?('personal') and @plugin_config['thin_disk'] @@ -188,6 +190,5 @@ @log.debug "VMware enterprise image was built." end end end -plugin :class => BoxGrinder::VMwarePlugin, :type => :platform, :name => :vmware, :full_name => "VMware"