class ImageBuilder::PostProcessors::Vagrant
Generic class doc comment
Attributes
compression_level[RW]
include[RW]
keep_input_artifact[RW]
output[RW]
override[RW]
type[R]
vagrantfile_template[RW]
Public Class Methods
new()
click to toggle source
# File lib/image_builder/post_processors/vagrant.rb, line 16 def initialize @type = 'vagrant' @compression_level = 6 @keep_input_artifact = false end
Public Instance Methods
add_override(provider, override_hash)
click to toggle source
# File lib/image_builder/post_processors/vagrant.rb, line 22 def add_override(provider, override_hash) @override[provider] = override_hash end
packer_hash()
click to toggle source
# File lib/image_builder/post_processors/vagrant.rb, line 26 def packer_hash hash = {} attr_to_hash(hash, :type, true) attr_to_hash(hash, :compression_level) attr_to_hash(hash, :include) attr_to_hash(hash, :keep_input_artifact) attr_to_hash(hash, :output) attr_to_hash(hash, :vagrantfile_template) attr_to_hash(hash, :override) hash end